-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (34 loc) · 845 Bytes
/
Copy pathci.yml
File metadata and controls
44 lines (34 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on:
push:
pull_request:
jobs:
build-and-test-windows:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: true
- name: Build interpreter and extensions
run: .\build.ps1
- name: Run tests
run: .\tests\test.ps1
build-and-test-ubuntu:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang lld powershell
- name: Build interpreter and extensions
shell: pwsh
run: ./build.ps1
- name: Run tests
shell: pwsh
run: ./tests/test.ps1