Skip to content

Commit 4f8f926

Browse files
authored
Merge pull request #2 from IBM/dev_rdubey
Git Action Workflow test
2 parents 7dc0b52 + d114dc2 commit 4f8f926

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "main" branch
8+
push:
9+
branches: [ "main" ]
10+
pull_request:
11+
branches: [ "main" ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "ICC-Config-debug"
19+
# We can add more jobs here for different OS
20+
ICC-Config-debug:
21+
# The type of runner that the job will run on
22+
runs-on: ubuntu-latest
23+
steps:
24+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25+
- uses: actions/checkout@v3
26+
27+
- name: 64-bit Linux debug compile
28+
run: |
29+
cd icc
30+
make OPSYS=AMD64_LINUX CONFIG=debug create_all
31+
make -k OPSYS=AMD64_LINUX CONFIG=debug all
32+
make -k OPSYS=AMD64_LINUX CONFIG=debug tests
33+
make -k OPSYS=AMD64_LINUX CONFIG=debug show_config
34+
cd ..
35+
36+
ICC-Compile:
37+
# a compile only -no test -quick check
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v3
41+
42+
- name: 64-bit Linux release compile
43+
run: |
44+
cd icc
45+
make -k OPSYS=AMD64_LINUX CONFIG=release create_all
46+
make -k OPSYS=AMD64_LINUX CONFIG=release all
47+
make -k OPSYS=AMD64_LINUX CONFIG=release iccpkg
48+
make -k OPSYS=AMD64_LINUX CONFIG=release show_config
49+
cd ..
50+
cd iccpkg
51+
make -k OPSYS=AMD64_LINUX CONFIG=release all
52+
cd ..
53+
54+

0 commit comments

Comments
 (0)