mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-08 01:38:34 -05:00
Switch back to nix build
This commit is contained in:
parent
775794d0ac
commit
78a419b28d
1 changed files with 14 additions and 16 deletions
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
|
|
@ -5,30 +5,28 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macOS-latest]
|
os: [ubuntu-latest]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: Maximize build space
|
- name: Maximize build space
|
||||||
# shell: bash
|
shell: bash
|
||||||
# run: |
|
run: |
|
||||||
# df -h
|
df -h
|
||||||
# sudo rm -rf /usr/share/dotnet
|
sudo rm -rf /usr/share/dotnet
|
||||||
# sudo rm -rf /usr/local/lib/android
|
sudo rm -rf /usr/local/lib/android
|
||||||
# sudo rm -rf /opt/ghc
|
sudo rm -rf /opt/ghc
|
||||||
# sudo rm -rf /opt/hostedtoolcache/CodeQL
|
sudo rm -rf /opt/hostedtoolcache/CodeQL
|
||||||
# sudo docker image prune --all --force
|
sudo docker image prune --all --force
|
||||||
# sudo docker builder prune -a
|
sudo docker builder prune -a
|
||||||
# df -h
|
df -h
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@v16
|
- uses: DeterminateSystems/nix-installer-action@v16
|
||||||
- uses: cachix/cachix-action@v16
|
- uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
name: tmayoff
|
name: tmayoff
|
||||||
authToken: '${{ secrets.CACHIX_AUTH }}'
|
authToken: '${{ secrets.CACHIX_AUTH }}'
|
||||||
- name: Install omnix
|
|
||||||
run: nix --accept-flake-config profile install "github:juspay/omnix"
|
|
||||||
- run: |
|
- run: |
|
||||||
cd dot_config/flake
|
nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel --cores 1 -j1
|
||||||
om ci
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue