Skip to content

Commit

Permalink
extends CI to test artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
ArquintL committed Oct 25, 2023
1 parent fade50c commit 160fd60
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,38 @@ jobs:
cache-from: type=gha, scope=${{ github.workflow }}
cache-to: type=gha, scope=${{ github.workflow }}

# TODO
# - name: Execute initiator & responder
# run: docker run ${{ env.IMAGE_TAG }} ./test.sh
- name: Test NSL
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/test-nsl.sh"

# - name: Verify initiator & responder
# run: docker run ${{ env.IMAGE_TAG }} ./verify.sh
- name: Test DH
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/test-dh.sh"

- name: Test WireGuard
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/test-wireguard.sh"

- name: Test C NSL
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/test-c-nsl.sh"

- name: Verify reusable verification library
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/verify-library.sh"

- name: Verify C reusable verification library
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/verify-c-library.sh"

- name: Verify NSL
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/verify-nsl.sh"

- name: Verify NSL (alt.)
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/verify-nsl-alternative.sh"

- name: Verify DH
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/verify-dh.sh"

- name: Verify WireGuard
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/verify-wireguard.sh"

- name: Verify C NSL
run: docker run --entrypoint "/bin/bash" ${{ env.IMAGE_TAG }} -c "cp -r Go-orig/. Go/; cp -r C-orig/. C/; /gobra/verify-c-nsl.sh"

- name: Login to Github Packages
uses: docker/login-action@v2
Expand Down

0 comments on commit 160fd60

Please sign in to comment.