use --locked for macOS builds
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
2abf15b9e9
commit
9514064c1c
1 changed files with 4 additions and 2 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -669,7 +669,7 @@ jobs:
|
||||||
- name: Build macOS x86_64 binary
|
- name: Build macOS x86_64 binary
|
||||||
if: ${{ matrix.os == 'macos-13' }}
|
if: ${{ matrix.os == 'macos-13' }}
|
||||||
run: |
|
run: |
|
||||||
CONDUWUIT_VERSION_EXTRA="$(git rev-parse --short ${{ github.sha }})" cargo build --release
|
CONDUWUIT_VERSION_EXTRA="$(git rev-parse --short ${{ github.sha }})" cargo build --release --locked --features=perf_measurements,sentry_telemetry,direct_tls
|
||||||
cp -v -f target/release/conduwuit conduwuit-macos-x86_64
|
cp -v -f target/release/conduwuit conduwuit-macos-x86_64
|
||||||
otool -L conduwuit-macos-x86_64
|
otool -L conduwuit-macos-x86_64
|
||||||
|
|
||||||
|
@ -677,12 +677,13 @@ jobs:
|
||||||
- name: Run x86_64 macOS release binary
|
- name: Run x86_64 macOS release binary
|
||||||
if: ${{ matrix.os == 'macos-13' }}
|
if: ${{ matrix.os == 'macos-13' }}
|
||||||
run: |
|
run: |
|
||||||
|
./conduwuit-macos-x86_64 --help
|
||||||
./conduwuit-macos-x86_64 --version
|
./conduwuit-macos-x86_64 --version
|
||||||
|
|
||||||
- name: Build macOS arm64 binary
|
- name: Build macOS arm64 binary
|
||||||
if: ${{ matrix.os == 'macos-latest' }}
|
if: ${{ matrix.os == 'macos-latest' }}
|
||||||
run: |
|
run: |
|
||||||
CONDUWUIT_VERSION_EXTRA="$(git rev-parse --short ${{ github.sha }})" cargo build --release
|
CONDUWUIT_VERSION_EXTRA="$(git rev-parse --short ${{ github.sha }})" cargo build --release --locked --features=perf_measurements,sentry_telemetry,direct_tls
|
||||||
cp -v -f target/release/conduwuit conduwuit-macos-arm64
|
cp -v -f target/release/conduwuit conduwuit-macos-arm64
|
||||||
otool -L conduwuit-macos-arm64
|
otool -L conduwuit-macos-arm64
|
||||||
|
|
||||||
|
@ -690,6 +691,7 @@ jobs:
|
||||||
- name: Run arm64 macOS release binary
|
- name: Run arm64 macOS release binary
|
||||||
if: ${{ matrix.os == 'macos-latest' }}
|
if: ${{ matrix.os == 'macos-latest' }}
|
||||||
run: |
|
run: |
|
||||||
|
./conduwuit-macos-arm64 --help
|
||||||
./conduwuit-macos-arm64 --version
|
./conduwuit-macos-arm64 --version
|
||||||
|
|
||||||
- name: Upload macOS x86_64 binary to webserver
|
- name: Upload macOS x86_64 binary to webserver
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue