Skip to content

Commit

Permalink
fix(ci)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon A. F. Lund <[email protected]>
  • Loading branch information
safl committed Nov 20, 2024
1 parent 17c6e20 commit 617da84
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ jobs:
echo "$(python3 -m site --user-base)/bin" >> $GITHUB_PATH
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: System, tools
- name: System, tools without sudo
if: ${{ matrix.os.name == 'macos' }}
run: |
./auxi/pkgs/${{ matrix.os.name }}.sh
- name: System, tools with sudo
if: ${{ matrix.os.name != 'macos' }}
run: |
sudo ./auxi/pkgs/${{ matrix.os.name }}.sh
- name: Yace, install
run: |
make install
Expand Down Expand Up @@ -79,7 +85,7 @@ jobs:
# path-to-lcov: coverage.lcov

- name: Publish Package
if: (startsWith(github.ref, 'refs/tags/v') && (matrix.os.name == 'ubuntu') && (matrix.python-version == '3.7'))
if: (startsWith(github.ref, 'refs/tags/v') && (matrix.os.name == 'ubuntu') && (matrix.python-version == '3.13'))
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,18 @@ concurrency:
jobs:
# Single deploy job since we're just deploying
deploy:
runs-on: '${{ matrix.os.name }}-${{ matrix.os.version }}'
strategy:
fail-fast: false
matrix:
os:
- {name: ubuntu, version: latest}
python-version: ['3.13']

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -36,7 +44,7 @@ jobs:

- name: System, tools
run: |
./auxi/pkgs/${{ matrix.os.name }}.sh
sudo ./auxi/pkgs/${{ matrix.os.name }}.sh
- name: Yace, Build and install
run: make all
Expand Down

0 comments on commit 617da84

Please sign in to comment.