Skip to content

Commit d65acee

Browse files
committed
Preliminary circleci support
1 parent 53801b4 commit d65acee

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

.circleci/config.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Build configuration for https://circleci.com/
2+
3+
version: 2.1
4+
5+
orbs:
6+
win: circleci/[email protected]
7+
8+
workflows:
9+
main:
10+
jobs:
11+
- build_ubuntu
12+
- build_docker
13+
14+
jobs:
15+
build_docker:
16+
docker:
17+
- image: circleci/buildpack-deps:stable
18+
steps:
19+
- checkout
20+
- run: autoreconf -i && ./configure --enable-warning-as-error && make all dist
21+
build_ubuntu:
22+
machine:
23+
image: ubuntu-2004:202101-01
24+
steps:
25+
- checkout
26+
- run: autoreconf -i && ./configure --enable-warning-as-error && make all dist
27+
build_win:
28+
executor:
29+
name: win/default
30+
steps:
31+
- run:
32+
name: Installing MSYS2
33+
shell: powershell.exe
34+
command: 'choco install msys2'
35+
- run:
36+
name: Installing tools
37+
shell: powershell.exe
38+
command: 'C:\tools\msys64\usr\bin\bash.exe -l -c "pacman --needed --noconfirm -S autoreconf automake mingw-w64-x86_64-toolchain"'
39+
- checkout
40+
- run:
41+
name: Autoreconf
42+
shell: C:\\tools\\msys64\\usr\\bin\\bash.exe -l
43+
command: 'cd /c/Users/circleci/project && autoreconf -i'
44+
- run:
45+
name: Configure
46+
shell: C:\\tools\\msys64\\usr\\bin\\bash.exe -l
47+
command: 'cd /c/Users/circleci/project && ./configure --enable-warning-as-error'
48+
- run:
49+
name: Make
50+
shell: C:\\tools\\msys64\\usr\\bin\\bash.exe -l
51+
command: 'cd /c/Users/circleci/project && make'
52+

0 commit comments

Comments
 (0)