Skip to content

Commit

Permalink
windows in ci is slow, and all the newer things will not work there. …
Browse files Browse the repository at this point in the history
…disable the daemon feature and it will build
  • Loading branch information
ellie committed May 7, 2024
1 parent 44aa232 commit a4ee370
Showing 1 changed file with 3 additions and 48 deletions.
51 changes: 3 additions & 48 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
os: [ubuntu-latest, macos-14]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -37,12 +37,6 @@ jobs:
target
key: ${{ runner.os }}-cargo-release-${{ hashFiles('**/Cargo.lock') }}

- name: Install dependencies
if: matrix.os != 'macos-14' && matrix.os != 'windows-latest'
run: |
sudo apt update
sudo apt install curl
- name: Run cargo build common
run: cargo build -p atuin-common --locked --release

Expand Down Expand Up @@ -100,7 +94,7 @@ jobs:
unit-test:
strategy:
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
os: [ubuntu-latest, macos-14]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -116,19 +110,6 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
if: matrix.os != 'macos-14' && matrix.os != 'windows-latest'
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- uses: taiki-e/install-action@v2
name: Install nextest
with:
Expand All @@ -148,7 +129,7 @@ jobs:
check:
strategy:
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
os: [ubuntu-latest, macos-14]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -164,19 +145,6 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
if: matrix.os != 'macos-14' && matrix.os != 'windows-latest'
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- uses: actions/cache@v3
with:
path: |
Expand Down Expand Up @@ -261,19 +229,6 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
if: matrix.os != 'macos-14' && matrix.os != 'windows-latest'
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- uses: actions/cache@v3
with:
path: |
Expand Down

0 comments on commit a4ee370

Please sign in to comment.