Skip to content

Commit

Permalink
Build on ci using batonogov/pyinstaller-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed Apr 6, 2024
1 parent 87081b1 commit 0070e6d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
34 changes: 20 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,30 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11.8'
# - 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 Nix
uses: cachix/install-nix-action@v26
# - name: Install devenv.sh
# run: nix profile install nixpkgs#devenv

- name: Install Cachix
uses: cachix/cachix-action@v14
with:
name: devenv
# - name: Build the devenv shell and run any pre-commit hooks
# run: devenv test

- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
- name: Build linux image
run: docker run --rm -v "${PWD}:/src/" --env SPECFILE=./schwifty.spec batonogov/pyinstaller-linux

- name: Build the devenv shell and run any pre-commit hooks
run: devenv test
- name: Test linux image
run: dist/schwifty "DE89370400440532013000"

# - name: Build devcontainer image
# uses: devcontainers/ci@v0.3
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
schwifty==2024.1.1.post0
pyinstaller==6.5.0

0 comments on commit 0070e6d

Please sign in to comment.