Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing foreign runner workflows #275

Merged
merged 5 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading