File tree Expand file tree Collapse file tree 5 files changed +59
-73
lines changed Expand file tree Collapse file tree 5 files changed +59
-73
lines changed Original file line number Diff line number Diff line change
1
+ # GitHub actions workflow.
2
+ # https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
3
+
4
+ name : Build+Test CI
5
+
6
+ on :
7
+ push :
8
+ branches : [main]
9
+ tags : [v*]
10
+ pull_request :
11
+ types : [opened]
12
+ branches : [main]
13
+
14
+ jobs :
15
+ Linux :
16
+ strategy :
17
+ matrix :
18
+ os : [ubuntu-latest]
19
+ cc : [gcc, clang]
20
+ runs-on : ${{ matrix.os }}
21
+ env :
22
+ CC : ${{ matrix.cc }}
23
+ steps :
24
+ - run : sudo apt-get install -y libfl-dev
25
+ - uses : actions/checkout@v2
26
+ - run : make distcheck
27
+
28
+ macOS :
29
+ strategy :
30
+ matrix :
31
+ os : [macos-latest]
32
+ cc : [clang]
33
+ runs-on : ${{ matrix.os }}
34
+ env :
35
+ CC : ${{ matrix.cc }}
36
+ steps :
37
+ - run : brew install flex bison
38
+ - uses : actions/checkout@v2
39
+ - run : make
40
+ - run : make check
41
+
42
+ Windows :
43
+ strategy :
44
+ matrix :
45
+ os : [windows-latest]
46
+ cc : [mingw32, mingw64]
47
+ runs-on : ${{ matrix.os }}
48
+ env :
49
+ CC : /c/msys64/${{ matrix.cc }}/bin/clang.exe
50
+ defaults :
51
+ run :
52
+ shell : bash
53
+ steps :
54
+ - run : choco install winflexbison3
55
+ - uses : actions/checkout@v2
56
+ - run : make YACC="win_bison -ld" LEX="win_flex"
57
+ # Needs autom4te (from autoconf) when building from git.
58
+ # - run: make check
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# pcalc: The Programmer's calculator
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /vapier/pcalc.svg?branch=master )] ( https://travis-ci.org/vapier/pcalc )
3
+ [ ![ Build Status] ( https://github.com /vapier/pcalc/actions/workflows/build-test-ci/badge.svg )
4
4
5
5
There was always a loophole when it came to a need to covert between
6
6
hexadecimal / decimal / octal / binary.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments