Skip to content

Commit

Permalink
💚 ci: Fix macos x86_64 build
Browse files Browse the repository at this point in the history
Temp solutions
  • Loading branch information
inflation committed Jun 15, 2024
1 parent 699df76 commit 2bea06d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
os: [ ubuntu-latest, macos-13, macos-latest, windows-latest ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
include:
- os: macos-13
rustflags: "-Clink-args=-fapple-link-rtlib"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -41,6 +44,8 @@ jobs:
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
- name: Tests
run: cargo nextest run --all-features --workspace
env:
RUSTFLAGS: "${{ matrix.rustflags }}"

coverage:
name: Code Coverage
Expand Down
17 changes: 17 additions & 0 deletions jpegxl-sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*
* This file is part of jpegxl-rs.
*
* jpegxl-rs is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* jpegxl-rs is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with jpegxl-rs. If not, see <https://www.gnu.org/licenses/>.
*/

fn main() {
#[cfg(all(not(feature = "vendored"), not(feature = "docs")))]
{
Expand Down

0 comments on commit 2bea06d

Please sign in to comment.