Skip to content

Commit

Permalink
Merge branch 'nobridge' of https://github.com/techguy16/umsktpy into …
Browse files Browse the repository at this point in the history
…nobridge
  • Loading branch information
techguy16 committed Aug 22, 2023
2 parents 0442034 + c863315 commit 2d243e4
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build and Upload - FreeBSD

on:
push:
branches: [ "nobridge" ]
pull_request:
branches: [ "nobridge" ]

jobs:
build:
runs-on: macos-12

strategy:
matrix:
platform: [amd64, x86]

steps:
- uses: actions/checkout@v3

- name: Build & Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v0
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
prepare: |
pkg install -y python310 py310-pip
run: |
python3.11 -m pip install pyinstaller
pyinstaller --onefile main.py
cp keys.json dist/keys.json
mv dist/main dist/umsktpy
./dist/umsktpy
- name: Upload build artifact
uses: actions/[email protected]
with:
name: umsktpy-freebsd-${{ matrix.platform }}
path: dist/

0 comments on commit 2d243e4

Please sign in to comment.