mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-07 03:06:05 -04:00
fix compiler setup
This commit is contained in:
parent
69076e87cb
commit
e8a052eaa0
12
.github/workflows/meson.yaml
vendored
12
.github/workflows/meson.yaml
vendored
@ -54,18 +54,16 @@ jobs:
|
||||
- name: extra_path
|
||||
shell: bash
|
||||
run: echo "${{matrix.config.extra_path}}" >> $GITHUB_PATH
|
||||
- name: configure
|
||||
shell: cmake -P {0}
|
||||
run: |
|
||||
set(ENV{CC} ${{matrix.config.cc}})
|
||||
set(ENV{CXX} ${{matrix.config.cxx}})
|
||||
set(ENV{C_LD} ${{matrix.config.c_ld}})
|
||||
set(ENV{CXX_LD} ${{matrix.config.cxx_ld}})
|
||||
- name: install prerequisites
|
||||
run: |
|
||||
# asuming that python and pip are already installed
|
||||
pip3 install meson ninja
|
||||
- name: setup meson project
|
||||
env: # set proper compilers and linkers for meson
|
||||
CC: ${{matrix.config.cc}}
|
||||
CXX: ${{matrix.config.cxx}}
|
||||
C_LD: ${{matrix.config.c_ld}}
|
||||
CXX_LD: ${{matrix.config.cxx_ld}}
|
||||
run: |
|
||||
# setup the build directory with tests and examples enabled
|
||||
meson setup builddir -DSQLITECPP_BUILD_TESTS=true -DSQLITECPP_BUILD_EXAMPLES=true --force-fallback-for=sqlite3
|
||||
|
Loading…
x
Reference in New Issue
Block a user