Skip to content

Commit

Permalink
Add gen_sequencer to build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GideonBear committed Feb 17, 2023
1 parent 04d4ae4 commit 1a89851
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ jobs:
matrix:
include:
- os: windows-latest
CMD_BUILD: pyinstaller --onefile --name gen_rom --paths . .github/workflows/gen_rom.py
CMD_BUILD: pyinstaller --onefile --name gen_rom --paths . .github/workflows/gen_rom.py && pyinstaller --onefile --name gen_sequencer --paths . .github/workflows/gen_sequencer.py
OUT_FILE_NAME: gen_rom.exe
OUT_FILE_NAME2: gen_sequencer.exe
ASSET_MIME: application/vnd.microsoft.portable-executable
- os: ubuntu-20.04 # glibc version
CMD_BUILD: pyinstaller --onefile --name gen_rom --paths . .github/workflows/gen_rom.py
CMD_BUILD: pyinstaller --onefile --name gen_rom --paths . .github/workflows/gen_rom.py && pyinstaller --onefile --name gen_sequencer --paths . .github/workflows/gen_sequencer.py
OUT_FILE_NAME: gen_rom
OUT_FILE_NAME2: gen_sequencer
ASSET_MIME: application/x-elf
#- os: macos-latest
# CMD_BUILD: >
Expand Down Expand Up @@ -81,3 +83,13 @@ jobs:
asset_path: ./dist/${{ matrix.OUT_FILE_NAME}}
asset_name: ${{ matrix.OUT_FILE_NAME}}
asset_content_type: ${{ matrix.ASSET_MIME}}
- name: Upload Release Asset 2
id: upload-release-asset2
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: ./dist/${{ matrix.OUT_FILE_NAME2}}
asset_name: ${{ matrix.OUT_FILE_NAME2}}
asset_content_type: ${{ matrix.ASSET_MIME}}
4 changes: 4 additions & 0 deletions .github/workflows/gen_sequencer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from dls.gen_sequencer import main


main()

0 comments on commit 1a89851

Please sign in to comment.