Skip to content

Commit 3aeef6f

Browse files
committed
enable dotnet in mpl head build
1 parent 2175591 commit 3aeef6f

File tree

4 files changed

+61
-19
lines changed

4 files changed

+61
-19
lines changed

.github/workflows/ci_examples_net.yml

+14
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: false
1515
type: boolean
16+
mpl-head:
17+
description: "Running on MPL HEAD"
18+
required: false
19+
default: false
20+
type: boolean
1621

1722
jobs:
1823
dotNetExamples:
@@ -45,6 +50,15 @@ jobs:
4550
with:
4651
dafny-version: ${{ inputs.dafny }}
4752

53+
- name: Update MPL submodule if using MPL HEAD
54+
if: ${{ inputs.mpl-head == true }}
55+
working-directory: submodules/MaterialProviders
56+
run: |
57+
git checkout main
58+
git pull
59+
git submodule update --init --recursive
60+
git rev-parse HEAD
61+
4862
- name: Regenerate code using smithy-dafny if necessary
4963
if: ${{ inputs.regenerate-code }}
5064
uses: ./.github/actions/polymorph_codegen

.github/workflows/ci_test_net.yml

+14
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: false
1515
type: boolean
16+
mpl-head:
17+
description: "Running on MPL HEAD"
18+
required: false
19+
default: false
20+
type: boolean
1621

1722
jobs:
1823
testDotNet:
@@ -46,6 +51,15 @@ jobs:
4651
with:
4752
dafny-version: ${{ inputs.dafny }}
4853

54+
- name: Update MPL submodule if using MPL HEAD
55+
if: ${{ inputs.mpl-head == true }}
56+
working-directory: submodules/MaterialProviders
57+
run: |
58+
git checkout main
59+
git pull
60+
git submodule update --init --recursive
61+
git rev-parse HEAD
62+
4963
- name: Regenerate code using smithy-dafny if necessary
5064
if: ${{ inputs.regenerate-code }}
5165
uses: ./.github/actions/polymorph_codegen

.github/workflows/ci_test_vector_net.yml

+14
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
required: false
1414
default: false
1515
type: boolean
16+
mpl-head:
17+
description: "Running on MPL HEAD"
18+
required: false
19+
default: false
20+
type: boolean
1621

1722
jobs:
1823
testDotNet:
@@ -51,6 +56,15 @@ jobs:
5156
with:
5257
dafny-version: ${{ inputs.dafny }}
5358

59+
- name: Update MPL submodule if using MPL HEAD
60+
if: ${{ inputs.mpl-head == true }}
61+
working-directory: submodules/MaterialProviders
62+
run: |
63+
git checkout main
64+
git pull
65+
git submodule update --init --recursive
66+
git rev-parse HEAD
67+
5468
- name: Regenerate code using smithy-dafny if necessary
5569
if: ${{ inputs.regenerate-code }}
5670
uses: ./.github/actions/polymorph_codegen

.github/workflows/mpl-head.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -50,28 +50,28 @@ jobs:
5050
dafny: ${{needs.getVersion.outputs.version}}
5151
mpl-version: ${{needs.getMplHeadVersion.outputs.version}}
5252
mpl-head: true
53-
mpl-headci-java-examples:
53+
mpl-head-ci-java-examples:
5454
needs: [getVersion, getMplHeadVersion]
5555
uses: ./.github/workflows/ci_examples_java.yml
5656
with:
5757
dafny: ${{needs.getVersion.outputs.version}}
5858
mpl-version: ${{needs.getMplHeadVersion.outputs.version}}
5959
mpl-head: true
60-
# mpl-head-ci-net:
61-
# needs: getVersion
62-
# uses: ./.github/workflows/ci_test_net.yml
63-
# with:
64-
# dafny: ${{needs.getVersion.outputs.version}}
65-
# mpl-head: true
66-
# mpl-head-ci-net-test-vectors:
67-
# needs: getVersion
68-
# uses: ./.github/workflows/ci_test_vector_net.yml
69-
# with:
70-
# dafny: ${{needs.getVersion.outputs.version}}
71-
# mpl-head: true
72-
# mpl-head-ci-net-examples:
73-
# needs: getVersion
74-
# uses: ./.github/workflows/ci_examples_net.yml
75-
# with:
76-
# dafny: ${{needs.getVersion.outputs.version}}
77-
# mpl-head: true
60+
mpl-head-ci-net:
61+
needs: getVersion
62+
uses: ./.github/workflows/ci_test_net.yml
63+
with:
64+
dafny: ${{needs.getVersion.outputs.version}}
65+
mpl-head: true
66+
mpl-head-ci-net-test-vectors:
67+
needs: getVersion
68+
uses: ./.github/workflows/ci_test_vector_net.yml
69+
with:
70+
dafny: ${{needs.getVersion.outputs.version}}
71+
mpl-head: true
72+
mpl-head-ci-net-examples:
73+
needs: getVersion
74+
uses: ./.github/workflows/ci_examples_net.yml
75+
with:
76+
dafny: ${{needs.getVersion.outputs.version}}
77+
mpl-head: true

0 commit comments

Comments
 (0)