Skip to content

Commit 606a196

Browse files
committed
add building nobuild config
1 parent 970387b commit 606a196

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,31 @@ jobs:
129129
if-no-files-found: error
130130
path: release/${{ env.DEST_BIN }}
131131

132+
test-nobuild-builds:
133+
name: Test building nobuild configs
134+
needs: build-apperl
135+
strategy:
136+
matrix:
137+
os: [ubuntu-latest, windows-latest]
138+
runs-on: ${{ matrix.os }}
139+
steps:
140+
- name: Fetch build artifacts
141+
uses: actions/download-artifact@v3
142+
- name: Try nobuild build
143+
run: |
144+
ls -la
145+
mkdir src
146+
cp full/perl.com src/
147+
src/perl.com /zip/bin/apperlm list
148+
src/perl.com /zip/bin/apperlm checkout nobuild-v0.1.0
149+
src/perl.com /zip/bin/apperlm build
150+
ls -la
151+
./perl.com -v
152+
132153
create-release:
133154
name: Create release
134155
runs-on: ubuntu-latest
135-
needs: [ build-linux, build-apperl, test-Perl-Dist-APPerl ]
156+
needs: [ build-linux, build-apperl, test-Perl-Dist-APPerl, test-nobuild-builds ]
136157
steps:
137158
- name: Fetch build artifacts
138159
if: ${{ github.ref_type == 'tag' }}

0 commit comments

Comments
 (0)