Skip to content

To avoid deprecation, bump runner to macos-12 and upload-artifact to v4 #94

To avoid deprecation, bump runner to macos-12 and upload-artifact to v4

To avoid deprecation, bump runner to macos-12 and upload-artifact to v4 #94

Workflow file for this run

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: SWT
YEAR: 2024
- name: Upload Image
uses: actions/upload-artifact@v4
with:
name: packages
path: |
./dist/*.zip
./dist/*.txz
./dist/*.dmg