You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/11/02 20:49:40 UTC

[GitHub] [couchdb-erlfdb] kocolosk commented on a change in pull request #29: rebar3 / Windows support / GH Action CI

kocolosk commented on a change in pull request #29:
URL: https://github.com/apache/couchdb-erlfdb/pull/29#discussion_r741451813



##########
File path: .github/workflows/rebar.yml
##########
@@ -0,0 +1,77 @@
+name: Rebar3 CI
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+
+jobs:
+
+  build_on_debian:
+
+    runs-on: ubuntu-latest
+
+    container:
+      image: docker://kocolosk/erlfdb-ci:latest
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Compile
+      run: rebar3 compile
+    - name: EUnit tests
+      run: rebar3 eunit
+
+  # build_erlef:
+  #   runs-on: ubuntu-latest
+
+  #   steps:
+  #     - name: Check out repository code
+  #       uses: actions/checkout@v2
+  #       with:
+  #         persist-credentials: false
+  #         submodules: recursive
+  #     - name: Setup Erlang
+  #       uses: ./.github/actions/setup-beam
+  #       with:
+  #         otp-version: '24'
+  #         rebar3-version: '3.16'
+  #     - name: Install FoundationDB
+  #       env:
+  #         FDB_VERSION: '6.2.29'
+  #       run: |
+  #         wget https://www.foundationdb.org/downloads/${FDB_VERSION}/ubuntu/installers/foundationdb-clients_${FDB_VERSION}-1_amd64.deb
+  #         wget https://www.foundationdb.org/downloads/${FDB_VERSION}/ubuntu/installers/foundationdb-server_${FDB_VERSION}-1_amd64.deb
+  #         dpkg -i foundationdb-clients_${FDB_VERSION}-1_amd64.deb
+  #         dpkg -i foundationdb-server_${FDB_VERSION}-1_amd64.deb
+  #     - name: Compile
+  #       run: rebar3 compile
+  #     - name: EUnit tests
+  #       run: rebar3 eunit
+
+  build_on_windows_erlef:
+    runs-on: windows-latest
+    env:
+      DEBUG: 1
+    steps:
+      - name: Check out repository code
+        uses: actions/checkout@v2
+        with:
+          persist-credentials: false
+          submodules: recursive
+      - name: Setup Erlang
+        uses: ./.github/actions/setup-beam
+        with:
+          otp-version: '24'
+          rebar3-version: '3.16'

Review comment:
       Updated




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org