Skip to content

Commit

Permalink
Simplify CI workflow (#149)
Browse files Browse the repository at this point in the history
* Simplify CI workflow

* Update ci.yml
  • Loading branch information
gemcoder21 authored Feb 13, 2025
1 parent 458390c commit 97279c9
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ concurrency:

env:
UNIT_TESTS: "true"
CARGO_INCREMENTAL: 0
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
unit_test:
Expand All @@ -25,21 +22,13 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true

- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Clean space
run: |
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
echo "======================================================"
df -h
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -49,25 +38,12 @@ jobs:
- name: Setup Android SDK
uses: android-actions/setup-android@v3

- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: |
core/gemstone
- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Install just
run: cargo install just

- name: Setup NDK
run: just install-ndk

- name: Install dependencies
run: |
just install-typeshare && just install-toolchains
- name: Gradle cache
uses: gradle/actions/setup-gradle@v3

Expand Down

0 comments on commit 97279c9

Please sign in to comment.