-
-
Notifications
You must be signed in to change notification settings - Fork 40
41 lines (33 loc) · 958 Bytes
/
ci.yaml
File metadata and controls
41 lines (33 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Continuous Integration
on:
pull_request:
branches:
- main
jobs:
build-docker:
name: Build Docker
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build service
run: docker build .
build-windows:
name: Build Windows executable
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Perl for Windows build
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: "5.40"
- name: Install Perl dependencies for Windows build
run: cpanm --install --notest PAR PAR::Dist PAR::Packer sub::Util
- name: Build Windows executable
run: pp -M sub::Util -o zap2xml.exe zap2xml.pl
- name: Cache once for testing
uses: actions/upload-artifact@v4
with:
path: zap2xml.exe
retention-days: 1