Skip to content
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
27 changes: 5 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install dependencies
run: pip install PyOxidizer
- name: cargo check
run: cargo check
- name: cargo clippy
Expand Down Expand Up @@ -53,9 +51,6 @@ jobs:

- name: Install dependencies
run: |
# Stick to the 0.23.0 due to issue with static linking on 0.24.0 [1].
# [1]: https://github.com/indygreg/PyOxidizer/issues/673
pip install PyOxidizer==0.23.0
# nfpm
curl -sS -Lo /tmp/nfpm.deb "https://github.com/goreleaser/nfpm/releases/download/v2.25.0/nfpm_amd64.deb"
sudo dpkg -i /tmp/nfpm.deb
Expand Down Expand Up @@ -86,7 +81,7 @@ jobs:
chdig --help

- name: Archive Linux packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-packages
path: |
Expand Down Expand Up @@ -115,7 +110,7 @@ jobs:

build-macos-x86_64:
name: Build MacOS (x86_64)
runs-on: macos-12
runs-on: macos-13

steps:
- uses: actions/checkout@v3
Expand All @@ -142,10 +137,6 @@ jobs:
# SDKs versions
ls -al /Library/Developer/CommandLineTools/SDKs/

- name: Install dependencies
run: |
pip3 install PyOxidizer

- name: Build
run: |
set -x
Expand All @@ -159,7 +150,7 @@ jobs:
./chdig-macos-x86_64 --help

- name: Archive MacOS x86_64 packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-packages-x86_64
path: |
Expand Down Expand Up @@ -194,10 +185,6 @@ jobs:
# SDKs versions
ls -al /Library/Developer/CommandLineTools/SDKs/

- name: Install dependencies
run: |
pip3 install PyOxidizer --break-system-packages

- name: Build
run: |
set -x
Expand All @@ -211,7 +198,7 @@ jobs:
./chdig-macos-arm64 --help

- name: Archive MacOS Arm64 packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-packages-arm64
path: |
Expand Down Expand Up @@ -241,18 +228,14 @@ jobs:
with:
cache-on-failure: true

- name: Install dependencies
run: |
pip3 install PyOxidizer

- name: Build
run: |
make deploy-binary
cp target/chdig.exe chdig-windows.exe
Compress-Archive -Path chdig-windows.exe -DestinationPath chdig-windows.exe.zip

- name: Archive Windows packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: windows-packages
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# cargo
target
/vendor
# PyOxidizer
build
tcl
stdlib
packed-resources
*.a
# distribution
dist
# packages
Expand Down
Loading
Loading