mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 06:23:08 -08:00
chore(CI): disable 32 bit integration tests
This commit is contained in:
76
.github/workflows/integration.yml
vendored
76
.github/workflows/integration.yml
vendored
@@ -88,44 +88,44 @@ jobs:
|
|||||||
# cd ./tests/integration
|
# cd ./tests/integration
|
||||||
# # export QEMU_OPTS="-machine virt -cpu cortex-a57"
|
# # export QEMU_OPTS="-machine virt -cpu cortex-a57"
|
||||||
# nix flake check --print-build-logs --system aarch64-linux --override-input rosenpass-old $REF_BEFORE --override-input rosenpass-new $REF_AFTER
|
# nix flake check --print-build-logs --system aarch64-linux --override-input rosenpass-old $REF_BEFORE --override-input rosenpass-new $REF_AFTER
|
||||||
integration-tests-i686-linux:
|
#integration-tests-i686-linux:
|
||||||
name: Integration tests i686-linux
|
# name: Integration tests i686-linux
|
||||||
timeout-minutes: 144000
|
# timeout-minutes: 144000
|
||||||
runs-on:
|
# runs-on:
|
||||||
- ubicloud-standard-8-ubuntu-2204
|
# - ubicloud-standard-8-ubuntu-2204
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
- uses: cachix/install-nix-action@v30
|
# - uses: cachix/install-nix-action@v30
|
||||||
with:
|
# with:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
# nix_path: nixpkgs=channel:nixos-unstable
|
||||||
- uses: cachix/cachix-action@v15
|
# - uses: cachix/cachix-action@v15
|
||||||
with:
|
# with:
|
||||||
name: rosenpass
|
# name: rosenpass
|
||||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
# authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||||
- name: Extract the reference of before and after for the integration tests.
|
# - name: Extract the reference of before and after for the integration tests.
|
||||||
run: |
|
# run: |
|
||||||
EVENT_NAME="${{ github.event_name }}"
|
# EVENT_NAME="${{ github.event_name }}"
|
||||||
REF_BEFORE=""
|
# REF_BEFORE=""
|
||||||
REF_AFTER="path:../../"
|
# REF_AFTER="path:../../"
|
||||||
if [[ "$EVENT_NAME" == "pull_request" ]]; then
|
# if [[ "$EVENT_NAME" == "pull_request" ]]; then
|
||||||
echo "This CI run was triggered in the context of a pull request."
|
# echo "This CI run was triggered in the context of a pull request."
|
||||||
REF_BEFORE="github:rosenpass/rosenpass/main"
|
# REF_BEFORE="github:rosenpass/rosenpass/main"
|
||||||
git checkout -B pr-${{ github.event.pull_request.number }}
|
# git checkout -B pr-${{ github.event.pull_request.number }}
|
||||||
REF_AFTER="git+file://../../../?ref=pr-${{ github.event.pull_request.number }}"
|
# REF_AFTER="git+file://../../../?ref=pr-${{ github.event.pull_request.number }}"
|
||||||
elif [[ "$EVENT_NAME" == "push" ]]; then
|
# elif [[ "$EVENT_NAME" == "push" ]]; then
|
||||||
echo "This CI run was triggered in the context of a push."
|
# echo "This CI run was triggered in the context of a push."
|
||||||
REF_BEFORE="github:rosenpass/rosenpass/${{ github.event.before }}"
|
# REF_BEFORE="github:rosenpass/rosenpass/${{ github.event.before }}"
|
||||||
REF_AFTER="github:rosenpass/rosenpass/${{ github.event.after }}"
|
# REF_AFTER="github:rosenpass/rosenpass/${{ github.event.after }}"
|
||||||
else
|
# else
|
||||||
echo "ERROR: This CI run was not triggered in the context of a pull request or a push. Exiting with error."
|
# echo "ERROR: This CI run was not triggered in the context of a pull request or a push. Exiting with error."
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
echo "REF_BEFORE=$REF_BEFORE" >> $GITHUB_ENV
|
# echo "REF_BEFORE=$REF_BEFORE" >> $GITHUB_ENV
|
||||||
echo "REF_AFTER=$REF_AFTER" >> $GITHUB_ENV
|
# echo "REF_AFTER=$REF_AFTER" >> $GITHUB_ENV
|
||||||
- name: Check
|
# - name: Check
|
||||||
run: |
|
# run: |
|
||||||
cd ./tests/integration
|
# cd ./tests/integration
|
||||||
nix flake check --print-build-logs --system i686-linux --override-input rosenpass-old $REF_BEFORE --override-input rosenpass-new $REF_AFTER
|
# nix flake check --print-build-logs --system i686-linux --override-input rosenpass-old $REF_BEFORE --override-input rosenpass-new $REF_AFTER
|
||||||
# THE FOLLOWING TEST IS DISABLED FOR THE TIME BENG UNTIL THIS ISSUE WITH NIXOS TESTS ON DARWIN GETS RESOLVED: https://github.com/NixOS/nixpkgs/issues/294725
|
# THE FOLLOWING TEST IS DISABLED FOR THE TIME BENG UNTIL THIS ISSUE WITH NIXOS TESTS ON DARWIN GETS RESOLVED: https://github.com/NixOS/nixpkgs/issues/294725
|
||||||
#integration-tests-aarch64-darwin:
|
#integration-tests-aarch64-darwin:
|
||||||
# name: Integration tests aarch64-darwin
|
# name: Integration tests aarch64-darwin
|
||||||
|
|||||||
Reference in New Issue
Block a user