Skip to content

Commit

Permalink
Preliminary circleci support
Browse files Browse the repository at this point in the history
  • Loading branch information
amadvance committed May 27, 2021
1 parent 53801b4 commit d65acee
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Build configuration for https://circleci.com/

version: 2.1

orbs:
win: circleci/[email protected]

workflows:
main:
jobs:
- build_ubuntu
- build_docker

jobs:
build_docker:
docker:
- image: circleci/buildpack-deps:stable
steps:
- checkout
- run: autoreconf -i && ./configure --enable-warning-as-error && make all dist
build_ubuntu:
machine:
image: ubuntu-2004:202101-01
steps:
- checkout
- run: autoreconf -i && ./configure --enable-warning-as-error && make all dist
build_win:
executor:
name: win/default
steps:
- run:
name: Installing MSYS2
shell: powershell.exe
command: 'choco install msys2'
- run:
name: Installing tools
shell: powershell.exe
command: 'C:\tools\msys64\usr\bin\bash.exe -l -c "pacman --needed --noconfirm -S autoreconf automake mingw-w64-x86_64-toolchain"'
- checkout
- run:
name: Autoreconf
shell: C:\\tools\\msys64\\usr\\bin\\bash.exe -l
command: 'cd /c/Users/circleci/project && autoreconf -i'
- run:
name: Configure
shell: C:\\tools\\msys64\\usr\\bin\\bash.exe -l
command: 'cd /c/Users/circleci/project && ./configure --enable-warning-as-error'
- run:
name: Make
shell: C:\\tools\\msys64\\usr\\bin\\bash.exe -l
command: 'cd /c/Users/circleci/project && make'

0 comments on commit d65acee

Please sign in to comment.