diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d770d884..5aee041f5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,7 +9,9 @@ jobs: linux: name: Linux runs-on: ubuntu-latest - container: akkadius/eqemu-server:v16 + container: + image: akkadius/eqemu-server:v16 + options: --user 1001:1001 steps: - name: Checkout source uses: actions/checkout@v5 @@ -24,9 +26,13 @@ jobs: working-directory: ${{ github.workspace }} run: | mkdir -p build && cd build - cmake -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_LUA=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo .. + cmake -DEQEMU_BUILD_TESTS=ON -DEQEMU_BUILD_LOGIN=ON -DEQEMU_BUILD_LUA=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo .. make -j"$(nproc)" + - name: Test + working-directory: build + run: ./bin/tests + - name: Package linux binaries working-directory: ${{ github.workspace }} run: |