diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4e00d9d8..ac5843e2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,6 +15,9 @@ jobs: build_arch: [x86, x64] runs-on: ubuntu-latest container: ubuntu:24.04 + defaults: + run: + shell: bash steps: - name: Install g++ and multilib run: | @@ -38,7 +41,9 @@ jobs: - name: Build working-directory: ${{ github.workspace }} - run: make -C build -j$(nproc) config=release_${{ matrix.build_arch }} all + run: | + make -C build -j$(nproc) config=release_${{ matrix.build_arch }} all + chmod +x build/bin/Release_${{ matrix.build_arch }}/{ImageConverter,Unlinker,Linker} - name: Test working-directory: ${{ github.workspace }}/build/lib/Release_${{ matrix.build_arch }}/tests diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a0429c56..1fea7860 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,6 +9,9 @@ jobs: build-release-linux: runs-on: ubuntu-latest container: ubuntu:24.04 + defaults: + run: + shell: bash steps: - name: Install g++ and multilib run: | @@ -23,6 +26,7 @@ jobs: uses: actions/checkout@v5 with: submodules: recursive + fetch-tags: true - name: Premake generate working-directory: ${{ github.workspace }} @@ -32,7 +36,9 @@ jobs: - name: Build working-directory: ${{ github.workspace }} - run: make -C build -j$(nproc) config=release_x86 all + run: | + make -C build -j$(nproc) config=release_x86 all + chmod +x build/bin/Release_${{ matrix.build_arch }}/{ImageConverter,Unlinker,Linker} - name: Upload artifacts uses: actions/upload-artifact@v4