-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,38 +8,12 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
# container: quay.io/pypa/manylinux_2_28_x86_64 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
# - name: Set up Python | ||
# uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: '3.11.8' | ||
|
||
# - name: Install Nix | ||
# uses: cachix/install-nix-action@v26 | ||
|
||
# - name: Install Cachix | ||
# uses: cachix/cachix-action@v14 | ||
# with: | ||
# name: devenv | ||
|
||
# - name: Install devenv.sh | ||
# run: nix profile install nixpkgs#devenv | ||
|
||
# - name: Build the devenv shell and run any pre-commit hooks | ||
# run: devenv test | ||
|
||
- name: Build linux image | ||
run: docker run --rm -v "${PWD}:/src/" --env SPECFILE=./schwifty.spec batonogov/pyinstaller-linux | ||
|
||
- name: Test linux image | ||
run: dist/schwifty "DE89370400440532013000" | ||
|
||
# - name: Build devcontainer image | ||
# uses: devcontainers/[email protected] | ||
# with: | ||
# runCmd: devenv test | ||
- name: Build devcontainer image | ||
uses: devcontainers/[email protected] | ||
with: | ||
runCmd: devenv test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build linux image | ||
run: docker run --rm -v "${PWD}:/src/" --env SPECFILE=./schwifty.spec batonogov/pyinstaller-linux | ||
|
||
- name: Test linux image | ||
run: dist/schwifty "DE89370400440532013000" | ||
|
||
- uses: shogo82148/actions-upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: dist/schwifty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters