first commit
All checks were successful
All checks were successful
This commit is contained in:
@@ -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
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
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