Skip to content

Commit

Permalink
Fixing foreign runner workflows (#275)
Browse files Browse the repository at this point in the history
* wf

* wf

* wf

* wf

* wf
  • Loading branch information
Zemurin authored Jan 28, 2025
1 parent 8876106 commit b8ecf12
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux_codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
analyze:
name: Analyze
if: github.repository_owner != 'ParadoxGameConverters'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand All @@ -69,7 +69,7 @@ jobs:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-11 g++-11
sudo apt-get install libgtest-dev
sudo apt-get install libgtest-dev ninja-build
sudo ln -s /usr/bin/gcc-11 /usr/local/bin/gcc
sudo ln -s /usr/bin/g++-11 /usr/local/bin/g++
cmake --preset x64-release-linux
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
analyze:
name: Coverage Check Foreign
if: github.repository_owner != 'ParadoxGameConverters'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand All @@ -74,9 +74,9 @@ jobs:
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev lcov
sudo apt-get install libcurl4-openssl-dev lcov ninja-build
cmake --preset x64-coverage-linux
cmake --build --preset build-x64-coverage-linux --target commonLib CommonItemsTests -- -j40
cmake --build --preset build-x64-coverage-linux --target commonLib CommonItemsTests -- -j3
- name: Run tests
run: |
Expand All @@ -90,7 +90,7 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: build/lcoverage/coverage.info
path-to-lcov: build/x64-coverage-linux/lcoverage/coverage.info

- name: Cleanup
uses: colpal/actions-clean@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_cmake_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cmake --preset x64-release-windows
cmake --build --preset build-x64-release-windows --target commonLib -- -j40
cmake --build --preset build-x64-release-windows --target commonLib CommonItemsTests -- -j3
- name: "Run tests"
run: |
Expand Down

0 comments on commit b8ecf12

Please sign in to comment.