Skip to content

Commit

Permalink
Use own container for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki-cpp authored Dec 17, 2023
1 parent 2142060 commit 0fafa3f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ jobs:
RunCodeCov:
runs-on: ubuntu-22.04
container:
image: ghcr.io/cpp-playground/containers
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
env:
CC: /usr/bin/clang-17
CXX: /usr/bin/clang++-17
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/cpp-playground/containers
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}

timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
Expand Down

0 comments on commit 0fafa3f

Please sign in to comment.