Add Linux GitHub Actions CI.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1902398 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 0000000..ed7cb76
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,26 @@
+name: Linux
+
+on:
+ push:
+ branches: [ "*" ]
+ pull_request:
+ branches: [ "trunk" ]
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Install prerequisites
+ run: sudo apt-get install scons libapr1 libapr1-dev libaprutil1 libaprutil1-dev zlib1g zlib1g-dev libssl-dev
+
+ - uses: actions/checkout@v3
+
+ - name: Build
+ run: scons
+
+ - name: Check
+ run: scons check