runner
This commit is contained in:
42
.gitea/workflows/ci.yml
Normal file
42
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
name: CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y meson ninja-build gcc g++ pkg-config
|
||||
- name: Build
|
||||
run: |
|
||||
meson setup build -Dbuildtype=release
|
||||
meson compile -C build
|
||||
- name: Prepare tests
|
||||
run: |
|
||||
cp build/libcell_runtime.so .
|
||||
cp build/cell .
|
||||
mkdir -p ~/.cell/packages
|
||||
ln -s "$PWD" ~/.cell/packages/core
|
||||
- name: VM tests
|
||||
run: ./cell --dev vm_suite
|
||||
- name: Language tests
|
||||
run: ./cell --dev test suite
|
||||
- name: Fuzz
|
||||
run: ./cell --dev fuzz
|
||||
|
||||
build-windows:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y meson ninja-build mingw-w64 pkg-config
|
||||
- name: Build
|
||||
run: |
|
||||
meson setup build_win --cross-file cross/mingw64.ini -Dbuildtype=release
|
||||
meson compile -C build_win
|
||||
Reference in New Issue
Block a user