Skip to content

add tests for Traktor #3219

add tests for Traktor

add tests for Traktor #3219

Workflow file for this run

# This workflow file generates binaries for both Windows
# and OS X. However, https://github.com/actions/upload-artifact/issues/38
# that basically says that it won't ever preserve permissions.
# That means an archive in an archive since we need to preserve them
# on OS X. Still... better than doing this all by hand.
# yamllint disable rule:line-length
---
name: pyinstaller
on: [push] # yamllint disable-line rule:truthy
jobs:
pyinstaller-mac-11:
runs-on: macos-11
steps:
- name: icu
run: |
brew update --preinstall || true
brew install pkg-config icu4c
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: update tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: run builder
run: |
export PATH="/usr/local/opt/icu4c/bin:/usr/local/opt/icu4c/sbin:${PATH}"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/opt/icu4c/lib/pkgconfig"
./builder.sh macosx
- name: artifact dist
uses: actions/upload-artifact@v3
with:
name: mac-11-dist
path: "*.zip"
pyinstaller-win:
runs-on: windows-2019
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: update tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: run builder
shell: bash
run: |
./builder.sh windows
- name: artifact dist
uses: actions/upload-artifact@v3
with:
name: windows-dist
path: "NowPlaying*windows"