-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Bump emulator and grpc-interfaces
- Add --version option and bump the version for the next release. - Update boost to version 1.81
- Loading branch information
Showing
13 changed files
with
237 additions
and
200 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 |
---|---|---|
|
@@ -2,11 +2,10 @@ name: Build/Test/Release | |
on: [push] | ||
env: | ||
EMULATOR_REPOSITORY: cartesi/machine-emulator | ||
EMULATOR_TAG: 0.15.2 | ||
ROM_VERSION: v0.17.0 | ||
KERNEL_VERSION: v0.17.0 | ||
LINUX_VERSION: 5.15.63-ctsi-2-v0.17.0 | ||
ROOTFS_VERSION: v0.18.0 | ||
EMULATOR_TAG: 0.16.0-test2 | ||
KERNEL_VERSION: v0.19.1 | ||
LINUX_VERSION: 6.5.9-ctsi-1-v0.19.1 | ||
TOOLS_VERSION: v0.14.0-test1 | ||
CARTESI_IMAGES_PATH: /usr/share/cartesi-machine/images | ||
HOST_IMAGES_PATH: /tmp/cartesi-machine-images/ | ||
permissions: | ||
|
@@ -130,9 +129,9 @@ jobs: | |
- name: Download [rootfs.ext2] | ||
uses: Legion2/[email protected] | ||
with: | ||
repository: ${{ github.repository_owner }}/image-rootfs | ||
tag: ${{ env.ROOTFS_VERSION }} | ||
file: rootfs-${{ env.ROOTFS_VERSION }}.ext2 | ||
repository: ${{ github.repository_owner }}/machine-emulator-tools | ||
tag: ${{ env.TOOLS_VERSION }} | ||
file: rootfs-tools-${{ env.TOOLS_VERSION }}.ext2 | ||
|
||
- name: Download [kernel.bin] | ||
uses: Legion2/[email protected] | ||
|
@@ -141,20 +140,12 @@ jobs: | |
tag: ${{ env.KERNEL_VERSION }} | ||
file: linux-${{ env.LINUX_VERSION }}.bin | ||
|
||
- name: Download [rom.bin] | ||
uses: Legion2/[email protected] | ||
with: | ||
repository: ${{ github.repository_owner }}/machine-emulator-rom | ||
tag: ${{ env.ROM_VERSION }} | ||
file: rom-${{ env.ROM_VERSION }}.bin | ||
|
||
- name: Move images to cartesi images folder | ||
run: | | ||
mkdir -m 755 -p /tmp/cartesi-machine-images | ||
mv rom-*.bin linux-*.bin rootfs-*.ext2 ${{ env.HOST_IMAGES_PATH }} | ||
mv linux-*.bin rootfs-*.ext2 ${{ env.HOST_IMAGES_PATH }} | ||
cd ${{ env.HOST_IMAGES_PATH }} && ln -s linux-${{ env.LINUX_VERSION }}.bin linux.bin | ||
cd ${{ env.HOST_IMAGES_PATH }} && ln -s rom-${{ env.ROM_VERSION }}.bin rom.bin | ||
cd ${{ env.HOST_IMAGES_PATH }} && ln -s rootfs-${{ env.ROOTFS_VERSION }}.ext2 rootfs.ext2 | ||
cd ${{ env.HOST_IMAGES_PATH }} && ln -s rootfs-tools-${{ env.TOOLS_VERSION }}.ext2 rootfs.ext2 | ||
- name: Run test suite inside the docker image (Linux/${{ matrix.arch }}) | ||
run: | | ||
|
@@ -241,9 +232,9 @@ jobs: | |
- name: Download [rootfs.ext2] | ||
uses: Legion2/[email protected] | ||
with: | ||
repository: ${{ github.repository_owner }}/image-rootfs | ||
tag: ${{ env.ROOTFS_VERSION }} | ||
file: rootfs-${{ env.ROOTFS_VERSION }}.ext2 | ||
repository: ${{ github.repository_owner }}/machine-emulator-tools | ||
tag: ${{ env.TOOLS_VERSION }} | ||
file: rootfs-tools-${{ env.TOOLS_VERSION }}.ext2 | ||
|
||
- name: Download [kernel.bin] | ||
uses: Legion2/[email protected] | ||
|
@@ -252,20 +243,12 @@ jobs: | |
tag: ${{ env.KERNEL_VERSION }} | ||
file: linux-${{ env.LINUX_VERSION }}.bin | ||
|
||
- name: Download [rom.bin] | ||
uses: Legion2/[email protected] | ||
with: | ||
repository: ${{ github.repository_owner }}/machine-emulator-rom | ||
tag: ${{ env.ROM_VERSION }} | ||
file: rom-${{ env.ROM_VERSION }}.bin | ||
|
||
- name: Move images to cartesi images folder | ||
run: | | ||
mkdir -m 755 -p /tmp/cartesi-machine-images | ||
mv rom-*.bin linux-*.bin rootfs-*.ext2 ${{ env.HOST_IMAGES_PATH }} | ||
mv linux-*.bin rootfs-*.ext2 ${{ env.HOST_IMAGES_PATH }} | ||
cd ${{ env.HOST_IMAGES_PATH }} && ln -s linux-${{ env.LINUX_VERSION }}.bin linux.bin | ||
cd ${{ env.HOST_IMAGES_PATH }} && ln -s rom-${{ env.ROM_VERSION }}.bin rom.bin | ||
cd ${{ env.HOST_IMAGES_PATH }} && ln -s rootfs-${{ env.ROOTFS_VERSION }}.ext2 rootfs.ext2 | ||
cd ${{ env.HOST_IMAGES_PATH }} && ln -s rootfs-tools-${{ env.TOOLS_VERSION }}.ext2 rootfs.ext2 | ||
- name: Run test suite inside the docker image (Linux/${{ matrix.arch }}) | ||
run: | | ||
|
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,6 +1,3 @@ | ||
[submodule "lib/grpc-interfaces"] | ||
path = lib/grpc-interfaces | ||
url = ../grpc-interfaces.git | ||
[submodule "lib/machine-emulator-defines"] | ||
path = lib/machine-emulator-defines | ||
url = ../machine-emulator-defines.git |
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
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
Submodule machine-emulator-defines
deleted from
4f164a
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
Oops, something went wrong.