Add github actions for macos #1

Merged
jyapayne merged 30 commits from create-macos-action into master 2022-11-26 04:25:32 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 2a52a4ef9e - Show all commits

Fix new paths

Joey Yakimowich-Payne 2022-11-09 08:56:55 -07:00

View file

@ -96,8 +96,8 @@ jobs:
--hidden-import configobj \
--distpath "${{ env.BUILD_DIR }}" \
-n "${{ env.PROJ_MOD }}" pyinstaller.py
mv "${{ env.BUILD_DIR }}/${{ env.PROJ_MOD }}" .
tar -czvf "${{ env.PROJ_MOD }}.tar.gz" "${{ env.PROJ_MOD }}"
mv "${{ env.BUILD_DIR }}/${{ env.PROJ_MOD }}" "${{ env.PROJ_MOD }}-tar"
tar -czvf "${{ env.PROJ_MOD }}.tar.gz" "${{ env.PROJ_MOD }}-tar/*"
ci/deb-script.sh
- uses: jiro4989/build-deb-action@v2
@ -181,7 +181,7 @@ jobs:
- name: Install Python dependencies
run: |
source venv/bin/activate
pip3 install -U pip setuptools wheel py3clean
pip3 install -U pip setuptools wheel pyclean
pip3 install -r requirements.txt
pip3 install py2app
PYINSTALLER_COMPILE_BOOTLOADER=1 MACOSX_DEPLOYMENT_TARGET=10.9 pip3 install https://github.com/pyinstaller/pyinstaller/tarball/develop --no-binary :all:

View file

@ -37,8 +37,8 @@ cat > $PROJ_MOD.desktop <(envsubst < $REPO_ROOT/ci/projectemplate.desktop)
mkdir -p $PROJ_MOD/usr/bin/$PROJ_MOD-bin
chmod +x $REPO_ROOT/$PROJ_MOD/$PROJ_MOD
cp -r $REPO_ROOT/$PROJ_MOD/* $PROJ_MOD/usr/bin/$PROJ_MOD-bin/
chmod +x $REPO_ROOT/$PROJ_MOD-tar/$PROJ_MOD
cp -r $REPO_ROOT/$PROJ_MOD-tar/* $PROJ_MOD/usr/bin/$PROJ_MOD-bin/
cat > $PROJ_MOD/usr/bin/$PROJ_MOD <(envsubst < $REPO_ROOT/ci/bintemplate)
chmod +x $PROJ_MOD/usr/bin/$PROJ_MOD