Skip to content

Commit

Permalink
Merge pull request #473 from bgilbert/meson
Browse files Browse the repository at this point in the history
Meson version fixes. Looks great, thank you!
  • Loading branch information
mm2 authored Feb 16, 2025
2 parents 5176347 + 9cc10b9 commit 04ace9c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,14 @@ jobs:
- name: Install packages
run: |
sudo apt-get -y install build-essential python3-pip ninja-build
pip install meson==0.64.0
pip install meson==0.52.0
- name: Build Ubuntu
run: |
meson setup build -Dfastfloat=true -Dthreaded=true
meson compile -C build
meson test -C build
cd build
ninja
meson test
VisualStudio-meson:
runs-on: windows-latest
Expand All @@ -77,12 +78,13 @@ jobs:

- name: Install packages
run: |
pip install meson==0.64.0
pip install meson==0.52.0
- uses: ilammy/msvc-dev-cmd@v1
- name: Build Windows
run: |
meson setup build
meson compile -C build
meson test -C build
cd build
ninja
meson test
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project(
'Little-CMS',
'c',
version: '2.17',
meson_version: '>=0.49.0',
meson_version: '>=0.52.0',
# default_options: ['c_std=c99']
)

Expand Down
2 changes: 1 addition & 1 deletion testbed/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ iccs = [
'bad_mpe.icc', 'ibm-t61.icc', 'test1.icc', 'test3.icc', 'test5.icc',
'toosmall.icc'
]
fs=import('fs')
# fs=import('fs') - requires Meson >=0.53.0
foreach icc : iccs
# fs.copyfile(icc) # DOES NOT WORK ON FEDORA 40
configure_file(input : icc, output : icc, copy : true)
Expand Down

0 comments on commit 04ace9c

Please sign in to comment.