Skip to content

Commit

Permalink
workflows: use earlier windows and ubuntu versions, strip binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Oct 13, 2024
1 parent 5f9adfc commit 825dcab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/job_nuitka-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
name: Build
runs-on: "ubuntu-latest"
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -62,6 +62,8 @@ jobs:
rare
- name: Compress
run: |
find rare.dist -iname "*.so*" -type f -exec strip --strip-all {} \;
strip --strip-all rare.dist/rare.bin
python -c "import shutil; shutil.make_archive('Rare', 'zip', 'rare.dist')"
- name: Upload artifact
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/job_nuitka-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
rare
- name: Compress
run: |
find rare.dist -iname "*.so*" -type f -exec strip {} \;
find rare.dist -iname "*.dylib" -type f -exec strip {} \;
strip rare.dist/rare.bin
python -c "import shutil; shutil.make_archive('Rare-${{ matrix.arch }}', 'zip', 'rare.dist')"
- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job_nuitka-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
name: Build
runs-on: "windows-latest"
runs-on: "windows-2019"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down

0 comments on commit 825dcab

Please sign in to comment.