Testing
This commit is contained in:
@@ -6,26 +6,12 @@ jobs:
|
||||
Run tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: git.neosisyphus.com/evol3d/evol-testbed:latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install LLVM
|
||||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 22
|
||||
sudo apt-get update
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3 -m venv .venv
|
||||
. .venv/bin/activate
|
||||
echo "$PWD/.venv/bin" >> "$GITHUB_PATH"
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install meson
|
||||
python -m pip install ninja
|
||||
- name: Setup build directory
|
||||
run: meson setup --native-file=build_options/meson-clang-linux build
|
||||
- name: Configure
|
||||
run: meson setup build
|
||||
- name: Run tests
|
||||
run: meson test -C build
|
||||
|
||||
Reference in New Issue
Block a user