Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
4d8de34
Merge pull request #265 from HyperloopUPV-H8/main
msanlli May 14, 2025
67c3908
updaters path draft
JESUSJH18 May 16, 2025
99225f7
fixes and version update
JESUSJH18 May 16, 2025
1f35a6d
Rename build-updater.yml to build-updater.yaml
msanlli May 16, 2025
d256dce
Integrate backof logic correctly
JFisica May 16, 2025
0ccce10
Reset current retries when connecting succesfully
JFisica May 16, 2025
dabb886
Add coment
JFisica May 16, 2025
f0a1af1
Merge pull request #270 from HyperloopUPV-H8/backend/avoid_overflow_c…
JFisica May 17, 2025
2db9dc0
Merge branch 'develop' into backend/updater-path
JESUSJH18 May 17, 2025
4e636d6
Merge pull request #269 from HyperloopUPV-H8/backend/updater-path
JESUSJH18 May 17, 2025
2c747ce
Function to get all the blcu topics
Saulsantos25 May 19, 2025
0bf6d34
Merge pull request #271 from HyperloopUPV-H8/'backend/tftp-bug'
g0nz4I0 May 21, 2025
fa69005
some fixes to improve readability
ariadnatp May 21, 2025
d968707
fixes to improve readability
ariadnatp May 21, 2025
2a39e33
Merge branch 'develop' into control-station/gui-booster
ariadnatp May 21, 2025
1a4dc04
Merge pull request #272 from HyperloopUPV-H8/control-station/gui-booster
msanlli May 23, 2025
3dcf4e1
Update build-updater.yaml
msanlli May 23, 2025
3bf9125
Update build-updater.yaml
msanlli May 23, 2025
8f8dda9
Update build-updater.yaml
msanlli May 23, 2025
6c654a6
Update build-updater.yaml
msanlli May 23, 2025
fc1d56c
Update build-updater.yaml
msanlli May 23, 2025
8fb812a
fix adj submodule
msanlli May 23, 2025
cec56c9
Update build-updater.yaml
msanlli May 23, 2025
38c5e2e
try marking workspace as safe
msanlli May 23, 2025
c9e43f2
release.yaml
msanlli May 24, 2025
b88d97c
install pcap lib in release.yaml
msanlli May 24, 2025
145d7f8
fix packet-sender adj submodule
msanlli May 24, 2025
af05bd8
fix macos compilation in linux in release.yaml
msanlli May 24, 2025
e86ae8e
fix macos compilation in release.yaml
msanlli May 24, 2025
938cc07
fix macos compilation in release.yaml
msanlli May 24, 2025
af5f85c
fix compilation in release.yaml
msanlli May 24, 2025
565e628
fix compilation in release.yaml
msanlli May 24, 2025
1543b82
fix compilation in release.yaml
msanlli May 24, 2025
71a3ed2
fix compilation in release.yaml
msanlli May 24, 2025
422cdb9
fix compilation in release.yaml
msanlli May 24, 2025
856cf86
add architecture releases in release.yaml
msanlli May 24, 2025
f409680
fix architecture releases in release.yaml
msanlli May 24, 2025
cbe41f3
fix architecture releases in release.yaml
msanlli May 24, 2025
62fa2f1
fixes in architecture releases in release.yaml
msanlli May 24, 2025
7524e0d
new release.yaml
msanlli May 24, 2025
bf123f3
change matrix for runner in release.yaml
msanlli May 24, 2025
0a8a172
assign shells explicitly in release.yaml
msanlli May 24, 2025
517581c
use shells independently release.yaml
msanlli May 24, 2025
74674fb
use alpine for ubuntu container in release.yaml
msanlli May 24, 2025
c96ce71
add bash to ubuntu container in release.yaml
msanlli May 24, 2025
38c85bc
avoid shell field in release.yaml
msanlli May 24, 2025
d6b8456
create draft release by default in release.yaml
msanlli May 24, 2025
1746489
fix release structure in release.yaml
msanlli May 24, 2025
bb21b6c
fix release structure in release.yaml
msanlli May 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 131 additions & 0 deletions .github/workflows/build-updater.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
name: Build updater

on:
workflow_dispatch:
pull_request:
paths:
- updater/**

jobs:
build-updater-linux:
name: Build updater for Linux
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Mark workspace as safe
run: git config --global --add safe.directory $GITHUB_WORKSPACE

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21.3"
cache-dependency-path: updater/go.sum

- name: Ensure dependencies
working-directory: updater
run: go mod tidy

- name: Make output dir
run: mkdir -p updater/output

- name: Build (linux/amd64)
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -o updater/output/updater-linux-64 ./updater

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: updater-linux
path: updater/output/*

build-updater-windows:
name: Build updater for Windows
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Mark workspace as safe
shell: pwsh
run: git config --global --add safe.directory $Env:GITHUB_WORKSPACE

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21.3"
cache-dependency-path: updater\go.sum

- name: Ensure dependencies
working-directory: updater
shell: pwsh
run: go mod tidy

- name: Make output dir
shell: pwsh
run: New-Item -ItemType Directory -Path updater\output -Force

- name: Build (windows/amd64)
shell: pwsh
run: |
$Env:CGO_ENABLED='0'
go build -o updater\output\updater-windows-64.exe ./updater

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: updater-windows
path: updater\output\*

build-updater-mac:
name: Build updater for macOS
runs-on: macos-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Mark workspace as safe
run: git config --global --add safe.directory $GITHUB_WORKSPACE

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21.3"
cache-dependency-path: updater/go.sum

- name: Ensure dependencies
working-directory: updater
run: go mod tidy

- name: Make output dir
run: mkdir -p updater/output

- name: Build (macOS Intel)
run: |
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 \
go build -o updater/output/updater-macos-64 ./updater

- name: Build (macOS ARM64)
run: |
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 \
go build -o updater/output/updater-macos-m1-64 ./updater

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: updater-macos
path: updater/output/*
128 changes: 0 additions & 128 deletions .github/workflows/build-updater.yml

This file was deleted.

Loading
Loading