Skip to content

Commit bc8319d

Browse files
Wip: build pipeline
1 parent 4afc30f commit bc8319d

File tree

3 files changed

+10
-47
lines changed

3 files changed

+10
-47
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ jobs:
2222
include:
2323
- os: ubuntu-latest
2424
target: x86_64-unknown-linux-gnu
25-
2625
- os: macOS-latest
27-
target: aarch64-apple-darwin
28-
26+
target: x86_64-apple-darwin
27+
2928
runs-on: ${{ matrix.os }}
3029
steps:
3130
- uses: actions/checkout@v4
@@ -41,13 +40,13 @@ jobs:
4140
sudo apt-get -qq update
4241
sudo apt-get -qq install musl-dev musl-tools pkg-config make
4342
44-
- name: Setup dependencies (macOS)
45-
if: matrix.os == 'macOS-latest'
46-
run: |
47-
brew update
48-
brew install pkg-config make openssl@3
49-
echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
50-
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig" >> $GITHUB_ENV
43+
# - name: Setup dependencies (macOS)
44+
# if: matrix.os == 'macOS-latest'
45+
# run: |
46+
# brew update
47+
# brew install pkg-config make openssl@3
48+
# echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
49+
# echo "PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig" >> $GITHUB_ENV
5150

5251
- name: Run build
5352
run: cargo build --release --locked --target ${{ matrix.target }}

Cargo.lock

Lines changed: 0 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "Scan local git repositories"
1212
[dependencies]
1313
clap = { version = "4.5.29", features = ["derive"] }
1414
colored = "2.1.0"
15-
git2 = "0.20.0"
15+
git2 = { version = "0.20.0", default-features = false }
1616
walkdir = "2.5.0"
1717
home = "0.5.9"
1818
threadpool = "1.8.1"

0 commit comments

Comments
 (0)