Skip to content

Commit

Permalink
build: update installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Dec 22, 2024
1 parent 717cdf1 commit cdf3180
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: '2.9.6'
xmake-version: branch@dev

- name: Update git submodule
run: |
Expand All @@ -35,14 +35,15 @@ jobs:
run: |
sudo apt-get update --fix-missing
sudo apt-get install debhelper lcov valgrind -yy
sudo apt-get install libfreetype6-dev libpng-dev libyaml-dev libomp-dev libx11-dev
- name: Configure
if: runner.os == 'Windows'
run: xmake config -y -k ${{ env.TARGET_KIND }} -m release --ci-env=y

- name: Configure for coverage mode
if: runner.os == 'Linux'
run: xmake config -y -k ${{ env.TARGET_KIND }} -m coverage --ci-env=y -v
run: xmake config -y -k ${{ env.TARGET_KIND }} -m coverage --ci-env=y

- name: Cache xmake packages
uses: actions/cache@v4
Expand Down

0 comments on commit cdf3180

Please sign in to comment.