-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from keystone-enclave/dev
Release v1.0.0
- Loading branch information
Showing
45 changed files
with
573 additions
and
3,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference | ||
version: 2.1 | ||
|
||
# prebuilt docker images with toolchain | ||
executors: | ||
setup-rv64gc: | ||
docker: | ||
- image: keystoneenclaveorg/keystone:init-rv64gc | ||
setup-rv32gc: | ||
docker: | ||
- image: keystoneenclaveorg/keystone:init-rv32gc | ||
|
||
|
||
commands: | ||
update-riscv-toolchain-path: | ||
steps: | ||
- run: echo 'export PATH=/keystone/riscv64/bin:/keystone/riscv32/bin:$PATH' >> $BASH_ENV | ||
|
||
jobs: | ||
build-and-test-rv64-qemu: | ||
executor: setup-rv64gc | ||
working_directory: /keystone | ||
steps: | ||
- checkout | ||
- update-riscv-toolchain-path | ||
- run: | ||
name: "Build rv64 and run tests" | ||
command: | | ||
./fast-setup.sh | ||
source ./source.sh | ||
mkdir build64 | ||
cd build64 | ||
cmake /keystone | ||
make -j$(nproc) | ||
make run-tests | ||
no_output_timeout: 120m | ||
build-rv64-fu540: | ||
executor: setup-rv64gc | ||
working_directory: /keystone | ||
steps: | ||
- checkout | ||
- update-riscv-toolchain-path | ||
- run: | ||
name: "Build rv64 sifive FU540" | ||
command: | | ||
./fast-setup.sh | ||
source ./source.sh | ||
mkdir build64-fu540 | ||
cd build64-fu540 | ||
cmake /keystone -DLINUX_SIFIVE=y -DSM_PLATFORM=sifive/fu540 | ||
make -j$(nproc) | ||
build-and-test-rv32-qemu: | ||
executor: setup-rv32gc | ||
working_directory: /keystone | ||
steps: | ||
- checkout | ||
- update-riscv-toolchain-path | ||
- run: | ||
name: "Build rv32 and run tests" | ||
command: | | ||
BITS=32 ./fast-setup.sh | ||
source ./source.sh | ||
mkdir build32 | ||
cd build32 | ||
cmake /keystone -DRISCV32=y | ||
make -j$(nproc) | ||
make run-tests | ||
no_output_timeout: 120m | ||
|
||
workflows: | ||
build-and-test: | ||
jobs: | ||
- build-and-test-rv64-qemu | ||
- build-rv64-fu540 | ||
- build-and-test-rv32-qemu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
05211edea5a47ebaf906ef4bed2c9609a93e8c6ad5e45f8c87678eabbfd424e7 1.0.tar.gz | ||
bdc9e3ec47ac461ecc7865609fda6b820439c36130e9da9275af010d9f4fe4bc 2.0.tar.gz | ||
ad8c0e3357579ae8b9c6f8adb76aae5ac9155134304e11e429b81111283a4718 riscv-toolchain-ilp32d-rv32gc-2021.01.xenial.7z | ||
ed41a452ba736d40de73b847777ad9cedd54e528f5d8930c44a6eb937e4d36d9 riscv-toolchain-lp64d-rv64gc-2021.01.xenial.7z | ||
7e232c2030cc8ab8dab169a4e9dac1cc75c41ea1da8cbe1a70ba416a6d6b971f riscv-toolchain-ilp32d-rv32gc-2021.01.bionic.7z | ||
2c37fa700f5ecf7ab8c1e5aeddd018fc15e0c187721b769a1d1318ed58228685 riscv-toolchain-lp64d-rv64gc-2021.01.bionic.7z |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.