Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: use earlier windows and ubuntu versions, strip binaries #471

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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