Skip to content

Commit

Permalink
Refactor CI actions
Browse files Browse the repository at this point in the history
- Fix wording "retreive prerequisite" to "Install prerequisite"
- Fix Build artifact step: missing run
- Instead of specifying gcc version, uses gcc provided by ubuntu-latest
Co-authored-by:  Jim Huang <[email protected]>
  • Loading branch information
ChAoSUnItY committed Nov 23, 2024
1 parent 0eeab25 commit 7af4655
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc-12, clang]
compiler: [gcc, clang]
steps:
- name: checkout code
uses: actions/checkout@v4
- name: retreive prerequisite
- name: Install prerequisite
run: |
sudo apt-get update -q -y
sudo apt-get install -q -y file
sudo apt-get install -q -y build-essential
- name: build artifact
- name: Build artifact
env:
CC: ${{ matrix.compiler }}
run: |
make clean
make test-all -j || exit 1
shell: bash

0 comments on commit 7af4655

Please sign in to comment.