-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (36 loc) · 1.01 KB
/
build_and_test.yml
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
name: BuildAndTest
on: push
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
key: ubuntu2004
- os: ubuntu-22.04
key: ubuntu2204
- os: macos-11
key: mac11
- os: macos-12
key: mac12
- os: windows-2019
key: win64
# - os: windows-2019 -- GitHub Action image doesn't have 32-bit compiler by default, remove 32-bit soon, ok?
# key: win32
- os: windows-2022
key: win64-2022server
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install Dependencies
run: pip3 install -r requirements.txt
#- name: Setup upterm session
# uses: lhotari/action-upterm@v1
- name: Run Tests
run: python3 setup.py run --run-config ${{ matrix.key }}