Repository: pdeljanov/Symphonia (language: rust)

Issue:
Configure CI
Configuring CI would have caught the compilation issue I resolved in #10. I don't care whether the project uses GitHub Actions or another system, but I would strongly recommend setting up a minimal pipeline to at least run tests on every commit.

I can easily configure GitHub Actions if this is something the project would like to see done.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..bf32ecb9
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,39 @@
+name: Build and Test
+
+on:
+  push:
+    branches:
+      - master
+  pull_request: {}
+
+jobs:
+  build:
+    name: Build
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        os: [ubuntu-latest, macOS-latest]
+    steps:
+    - name: Checkout
+      uses: actions/checkout@v1
+    - name: Setup Toolchain
+      uses: actions-rs/toolchain@v1
+      with:
+        toolchain: stable
+        override: true
+# Uncomment to check formatting:
+#    - name: Check Formatting
+#      uses: actions-rs/cargo@v1
+#      with:
+#        command: fmt
+#        args: -- --check
+    - name: Build
+      uses: actions-rs/cargo@v1
+      with:
+        command: build
+        args: --all --all-features --exclude symphonia-play
+    - name: Test
+      uses: actions-rs/cargo@v1
+      with:
+        command: test
+        args: --all --all-features --exclude symphonia-play


Test patch: