|
18 | 18 | - default
|
19 | 19 | - true
|
20 | 20 | - false
|
21 |
| - override-reference-contracts: |
22 |
| - description: 'Override reference contracts ref' |
| 21 | + override-eos-system-contracts: |
| 22 | + description: 'Override eos-system-contracts ref' |
23 | 23 | type: string
|
24 | 24 |
|
25 | 25 | permissions:
|
@@ -57,26 +57,26 @@ jobs:
|
57 | 57 | outputs:
|
58 | 58 | cdt-target: ${{steps.versions.outputs.cdt-target}}
|
59 | 59 | cdt-prerelease: ${{steps.versions.outputs.cdt-prerelease}}
|
60 |
| - reference-contracts-ref: ${{steps.versions.outputs.reference-contracts-ref}} |
| 60 | + eos-system-contracts-ref: ${{steps.versions.outputs.eos-system-contracts-ref}} |
61 | 61 | steps:
|
62 |
| - - name: Setup cdt and reference-contracts versions |
| 62 | + - name: Setup cdt and eos-system-contracts versions |
63 | 63 | id: versions
|
64 | 64 | env:
|
65 | 65 | GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
66 | 66 | run: |
|
67 | 67 | DEFAULTS_JSON=$(curl -sSfL $(gh api https://api.github.com/repos/${{github.repository}}/contents/.cicd/defaults.json?ref=${{github.sha}} --jq .download_url))
|
68 | 68 | echo cdt-target=$(echo "$DEFAULTS_JSON" | jq -r '.cdt.target') >> $GITHUB_OUTPUT
|
69 | 69 | echo cdt-prerelease=$(echo "$DEFAULTS_JSON" | jq -r '.cdt.prerelease') >> $GITHUB_OUTPUT
|
70 |
| - echo reference-contracts-ref=$(echo "$DEFAULTS_JSON" | jq -r '.referencecontracts.ref') >> $GITHUB_OUTPUT |
| 70 | + echo eos-system-contracts-ref=$(echo "$DEFAULTS_JSON" | jq -r '.eossystemcontracts.ref') >> $GITHUB_OUTPUT |
71 | 71 |
|
72 | 72 | if [[ "${{inputs.override-cdt}}" != "" ]]; then
|
73 | 73 | echo cdt-target=${{inputs.override-cdt}} >> $GITHUB_OUTPUT
|
74 | 74 | fi
|
75 | 75 | if [[ "${{inputs.override-cdt-prerelease}}" == +(true|false) ]]; then
|
76 | 76 | echo cdt-prerelease=${{inputs.override-cdt-prerelease}} >> $GITHUB_OUTPUT
|
77 | 77 | fi
|
78 |
| - if [[ "${{inputs.override-reference-contracts}}" != "" ]]; then |
79 |
| - echo reference-contracts-ref=${{inputs.override-reference-contracts}} >> $GITHUB_OUTPUT |
| 78 | + if [[ "${{inputs.override-eos-system-contracts}}" != "" ]]; then |
| 79 | + echo eos-system-contracts-ref=${{inputs.override-eos-system-contracts}} >> $GITHUB_OUTPUT |
80 | 80 | fi
|
81 | 81 |
|
82 | 82 | package:
|
@@ -328,21 +328,21 @@ jobs:
|
328 | 328 | rm ./*.deb
|
329 | 329 |
|
330 | 330 | # Reference Contracts
|
331 |
| - - name: checkout reference-contracts |
| 331 | + - name: checkout eos-system-contracts |
332 | 332 | uses: actions/checkout@v4
|
333 | 333 | with:
|
334 |
| - repository: AntelopeIO/reference-contracts |
335 |
| - path: reference-contracts |
336 |
| - ref: '${{needs.v.outputs.reference-contracts-ref}}' |
| 334 | + repository: eosnetworkfoundation/eos-system-contracts |
| 335 | + path: eos-system-contracts |
| 336 | + ref: '${{needs.v.outputs.eos-system-contracts-ref}}' |
337 | 337 | - if: ${{ matrix.test == 'deb-install' }}
|
338 |
| - name: Install reference-contracts deps |
| 338 | + name: Install eos-system-contracts deps |
339 | 339 | run: |
|
340 | 340 | apt-get -y install cmake build-essential
|
341 |
| - - name: Build & Test reference-contracts |
| 341 | + - name: Build & Test eos-system-contracts |
342 | 342 | run: |
|
343 |
| - cmake -S reference-contracts -B reference-contracts/build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=On -DSYSTEM_ENABLE_SPRING_VERSION_CHECK=Off -DSYSTEM_ENABLE_CDT_VERSION_CHECK=Off |
344 |
| - cmake --build reference-contracts/build -- -j $(nproc) |
345 |
| - cd reference-contracts/build/tests |
| 343 | + cmake -S eos-system-contracts -B eos-system-contracts/build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=On -DSYSTEM_ENABLE_SPRING_VERSION_CHECK=Off -DSYSTEM_ENABLE_CDT_VERSION_CHECK=Off |
| 344 | + cmake --build eos-system-contracts/build -- -j $(nproc) |
| 345 | + cd eos-system-contracts/build/tests |
346 | 346 | ctest --output-on-failure -j $(nproc)
|
347 | 347 |
|
348 | 348 | all-passing:
|
|
0 commit comments