Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jibsen committed Nov 1, 2023
1 parent d0e6845 commit a97a957
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/meson-ci-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,20 @@ jobs:
arch: amd64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install Meson
run: pip install meson ninja

- name: Configure
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -no_logo -arch=${{ matrix.config.arch }}
meson setup build
run: meson setup --vsenv build

- name: Build
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -no_logo -arch=${{ matrix.config.arch }}
ninja -C build
run: meson compile -C build -v

linux:
name: Linux ${{ matrix.config.name }}
Expand All @@ -57,9 +51,9 @@ jobs:
cxx: clang++

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: '3.x'

Expand All @@ -70,4 +64,4 @@ jobs:
run: meson setup build

- name: Build
run: ninja -C build
run: meson compile -C build -v
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('blz4', 'c',
meson_version : '>=0.45.0',
meson_version : '>=0.60.0',
default_options : [
'b_ndebug=if-release',
'buildtype=release',
Expand Down

0 comments on commit a97a957

Please sign in to comment.