-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (44 loc) · 1.39 KB
/
main.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
37
38
39
40
41
42
43
44
45
46
name: tests
# Triggers the workflow on push or pull request on any branch
on: [push, pull_request]
jobs:
# This workflow contains a single job called "build"
build:
runs-on: macos-12 #macos-latest
strategy:
matrix:
# Create one build with StarTrack and one without (StarTrack is used to collect data for a chair's user study)
star_track: [false, true]
name: Build with StarTrack ${{ matrix.star_track }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Image
run: bash MAKE.command
timeout-minutes: 30
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TERM: xterm-256
STARTRACK: ${{ matrix.star_track }}
RELEASE: '6.0'
PATCH: 22148
BUNDLE_RELEASE: '6.0'
BUNDLE_PATCH: 22148
LECTURE: SWA
YEAR: 2024
- name: Upload Image
uses: actions/upload-artifact@v4
with:
name: packages
path: |
./dist/*.zip
./dist/*.txz
./dist/*.dmg