emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/typescript-mode daded219e6 199/222: Create initial GitHub


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode daded219e6 199/222: Create initial GitHub actions build-definition
Date: Sun, 6 Feb 2022 16:59:32 -0500 (EST)

branch: elpa/typescript-mode
commit daded219e6588b8fc487d9a36a72ad9065c4e975
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: GitHub <noreply@github.com>

    Create initial GitHub actions build-definition
    
    This may or may not work :smile:
---
 .github/workflows/build.yml | 51 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000000..2376ac505f
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,51 @@
+name: Build & Test
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+  # Allows you to run this workflow manually from the Actions tab
+  workflow_dispatch:
+
+jobs:
+  build:
+    runs-on: ubuntu-18.04
+    name: Emacs - ${{ matrix.emacs }}
+    strategy: 
+      matrix:
+        emacs:
+        - emacs-26.1-travis-linux-xenial
+        - emacs-26.2-travis-linux-xenial
+        - emacs-26.3-travis-linux-xenial
+        - emacs-27.1-travis-linux-xenial
+        - emacs-git-snapshot-travis-linux-xenial
+
+    steps:
+      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can 
access it
+      - uses: actions/checkout@v2
+
+      - name: Install EVM
+        run: |
+          git clone https://github.com/rejeep/evm.git ~/.evm
+          export PATH="$HOME/.evm/bin:$PATH"
+          evm config path /tmp
+
+      - name: Install Emacs ${{ matrix.emacs }}
+        run: |
+          export PATH="$HOME/.evm/bin:$PATH"
+          evm install ${{ matrix.emacs }} --use --skip
+
+      - name: Install cask
+        run: |
+          export PATH="$HOME/.evm/bin:$PATH"
+          curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | 
python
+          export PATH="$HOME/.cask/bin:$PATH"
+          cask
+
+      - name: Run a multi-line script
+        run: |
+          export PATH="$HOME/.evm/bin:$PATH"
+          export PATH="$HOME/.cask/bin:$PATH"
+          emacs --version
+          make test



reply via email to

[Prev in Thread] Current Thread [Next in Thread]