-
Notifications
You must be signed in to change notification settings - Fork 10
44 lines (42 loc) · 1.24 KB
/
endianness_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: "Endianness Tests"
on: workflow_dispatch
jobs:
big_endian:
name: Big Endian
runs-on: ubuntu-latest
steps:
- name: Multiarch Setup
run: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
- name: Tests
uses: docker://multiarch/ubuntu-core:s390x-focal
with:
args: >
bash -c
"
uname -a &&
apt-get update -y &&
apt-get install -y git python3 &&
git clone https://github.com/TommasoBelluzzo/FastHashes &&
python3 FastHashes/Solution/FastHashes.Tests/endianness_tests.py > output.txt
"
- name: Package Artifact
uses: actions/upload-artifact@v3
with:
name: Big Endian Artifact
path: output.txt
little_endian:
name: Little Endian
runs-on: ubuntu-latest
steps:
- name: Tests
run: |
sudo apt-get update
sudo apt-get install -y git python3
git clone https://github.com/TommasoBelluzzo/FastHashes
python3 FastHashes/Solution/FastHashes.Tests/endianness_tests.py > output.txt
- name: Package Artifact
uses: actions/upload-artifact@v3
with:
name: Little Endian Artifact
path: output.txt