compiling from scratch is faster than dealing with artifacts

This commit is contained in:
2025-06-06 19:30:01 +02:00
parent de2e8a7ed8
commit 28a96a2cf6

View File

@@ -55,12 +55,8 @@ jobs:
# compile # compile
- name: compile ${{matrix.march}}-${{matrix.kernel}} - name: compile ${{matrix.march}}-${{matrix.kernel}}
run: make compile MARCH=${{matrix.march}} KERNEL=${{matrix.kernel}} CC=${{matrix.cc}} -j run: make compile MARCH=${{matrix.march}} KERNEL=${{matrix.kernel}} CC=${{matrix.cc}} -j
- uses: actions/upload-artifact@v4
with:
name: ${{matrix.march}}-${{matrix.kernel}}-rel
path: obj/
test: test:
needs: compile needs: setup-vcpkg
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/thepigeongenerator/mcaselector-lite:latest container: ghcr.io/thepigeongenerator/mcaselector-lite:latest
strategy: strategy:
@@ -76,9 +72,5 @@ jobs:
path: ${{env.VCPKG_ROOT}} path: ${{env.VCPKG_ROOT}}
key: vcpkg-${{runner.os}} key: vcpkg-${{runner.os}}
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: ${{matrix.march}}-${{matrix.kernel}}-rel
path: obj/
- name: execute tests for ${{matrix.march}}-${{matrix.kernel}} - name: execute tests for ${{matrix.march}}-${{matrix.kernel}}
run: make DEBUG=test run MARCH=${{matrix.march}} KERNEL=${{matrix.kernel}} CC=${{matrix.cc}} -j run: make DEBUG=test run MARCH=${{matrix.march}} KERNEL=${{matrix.kernel}} CC=${{matrix.cc}} -j