Skip to content

Updating time crate for Rust 1.80 #303

Updating time crate for Rust 1.80

Updating time crate for Rust 1.80 #303

Workflow file for this run

env:
LORRI_NO_INSTALL_PANIC_HANDLER: absolutely
jobs:
nix-build_stable-macos-latest:
name: nix-build [nixos stable] (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Nix
uses: cachix/install-nix-action@v26
- name: Cachix
uses: cachix/cachix-action@v14
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: nix-community
- name: Build
run: nix-build
- name: Install
run: nix-env -i ./result
- name: Self-upgrade
run: lorri self-upgrade local $(pwd)
nix-build_stable-ubuntu-latest:
name: nix-build [nixos stable] (ubuntu-latest)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Nix
uses: cachix/install-nix-action@v26
- name: Cachix
uses: cachix/cachix-action@v14
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: nix-community
- name: Build
run: nix-build
- name: Install
run: nix-env -i ./result
- name: Self-upgrade
run: lorri self-upgrade local $(pwd)
overlay-macos-latest:
name: Overlay builds (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: null
- name: Nix
uses: cachix/install-nix-action@v26
- name: Cachix
uses: cachix/cachix-action@v14
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: nix-community
- name: Build w/ overlay (stable)
run: nix-build ./nix/overlay.nix -A lorri --arg pkgs ./nix/nixpkgs-stable.json
overlay-ubuntu-latest:
name: Overlay builds (ubuntu-latest)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: null
- name: Nix
uses: cachix/install-nix-action@v26
- name: Cachix
uses: cachix/cachix-action@v14
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: nix-community
- name: Build w/ overlay (stable)
run: nix-build ./nix/overlay.nix -A lorri --arg pkgs ./nix/nixpkgs-stable.json
rust-macos-latest:
name: Rust and CI tests (macos-latest)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: null
- name: Nix
uses: cachix/install-nix-action@v26
- name: Cachix
uses: cachix/cachix-action@v14
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: nix-community
- name: Add rustc to PATH
run: |
set -euo pipefail
rustc_path="$(nix-build -A rustc nix/nixpkgs-stable.nix)/bin"
echo "$rustc_path" >> "$GITHUB_PATH"
- name: print PATH
run: printenv PATH
- name: Rust Cache
uses: Swatinem/rust-cache@v2.7.3
- name: Build CI tests
run: |
nix-build \
--out-link ./ci-tests \
--arg isDevelopmentShell false \
-A ci.testsuite \
shell.nix
- name: Run CI tests
run: |
./ci-tests
rust-ubuntu-latest:
name: Rust and CI tests (ubuntu-latest)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: null
- name: Nix
uses: cachix/install-nix-action@v26
- name: Cachix
uses: cachix/cachix-action@v14
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: nix-community
- name: Add rustc to PATH
run: |
set -euo pipefail
rustc_path="$(nix-build -A rustc nix/nixpkgs-stable.nix)/bin"
echo "$rustc_path" >> "$GITHUB_PATH"
- name: print PATH
run: printenv PATH
- name: Rust Cache
uses: Swatinem/rust-cache@v2.7.3
- name: Build CI tests
run: |
nix-build \
--out-link ./ci-tests \
--arg isDevelopmentShell false \
-A ci.testsuite \
shell.nix
- name: Run CI tests
run: |
./ci-tests
name: CI
"on":
pull_request:
branches:
- '**'
push:
branches:
- master
workflow_dispatch: {}