Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 54a436535a | |||
| 00c767b519 |
@@ -14,12 +14,12 @@ jobs:
|
||||
# x86_64
|
||||
- arch: x64
|
||||
image: dockcross/linux-x64
|
||||
tripple: x86_64-linux-gnu
|
||||
toolchain: /usr/lib/x86_64-linux-gnu/Toolchain.cmake
|
||||
|
||||
# ARM 64-bit
|
||||
- arch: arm64
|
||||
image: dockcross/linux-arm64
|
||||
tripple: aarch64-linux-gnu
|
||||
toolchain: /usr/xcc/aarch64-unknown-linux-gnu/Toolchain.cmake
|
||||
|
||||
# Apply the matrix image to the job container
|
||||
runs-on: ubuntu-latest
|
||||
@@ -28,16 +28,17 @@ jobs:
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
cache: 'npm'
|
||||
- run: |
|
||||
apt-get update
|
||||
apt-get install -y curl
|
||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
||||
apt-get install -y nodejs
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
mkdir artifacts
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -S .. -B . -DCMAKE_TOOLCHAIN_FILE=/usr/lib/${{ matrix.tripple }}/Toolchain.cmake
|
||||
cmake -S .. -B . -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }}
|
||||
make
|
||||
mv myapp ../artifacts/myapp-${{ matrix.arch }}
|
||||
- uses: akkuman/gitea-release-action@v1
|
||||
|
||||
Reference in New Issue
Block a user