move to end #79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-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: 22104 | |
BUNDLE_RELEASE: '6.0' | |
BUNDLE_PATCH: 22104 | |
LECTURE: SWA | |
YEAR: 2023 | |
- name: Upload Image | |
uses: actions/upload-artifact@v3 | |
with: | |
name: packages | |
path: | | |
./dist/*.zip | |
./dist/*.txz | |
./dist/*.dmg |