]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github ci: pin cbindgen to 0.14.1
authorJason Ish <jason.ish@oisf.net>
Fri, 1 May 2020 05:11:45 +0000 (23:11 -0600)
committerJason Ish <jason.ish@oisf.net>
Fri, 1 May 2020 05:11:45 +0000 (23:11 -0600)
0.14.2 breaks builds with Rust 1.34.0, which we still support.

Also build cbdingen in debug mode. It builds much faster
with minimal runtime performance.

.github/workflows/builds.yml

index 0ff476af43c4f11761b38229bd0ca84294c72fc5..009cf37c75d42c4ff21a4071c19e616a56ed5353 100644 (file)
@@ -71,7 +71,7 @@ jobs:
                 texlive-capt-of \
                 texlive-needspace \
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --force --debug --version 0.14.1 cbindgen
       - run: echo "::add-path::$HOME/.cargo/bin"
       - uses: actions/checkout@v1
       - name: Bundling libhtp
@@ -246,7 +246,7 @@ jobs:
                 python3-sphinx \
                 texlive-scheme-full
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --force --debug --version 0.14.1 cbindgen
       - run: echo "::add-path::$HOME/.cargo/bin"
       - uses: actions/checkout@v1
       - run: git clone https://github.com/OISF/libhtp -b 0.5.x
@@ -327,7 +327,7 @@ jobs:
           add-apt-repository -y ppa:npalix/coccinelle
           apt -y install coccinelle
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --force --debug --version 0.14.1 cbindgen
       - run: echo "::add-path::$HOME/.cargo/bin"
       - uses: actions/checkout@v1
       - run: git clone https://github.com/OISF/libhtp -b 0.5.x
@@ -397,7 +397,7 @@ jobs:
                 zlib1g \
                 zlib1g-dev
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --force --debug --version 0.14.1 cbindgen
       - run: echo "::add-path::$HOME/.cargo/bin"
       - uses: actions/checkout@v1
       - run: git clone https://github.com/OISF/libhtp -b 0.5.x
@@ -516,7 +516,7 @@ jobs:
                 zlib1g \
                 zlib1g-dev
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --force --debug --version 0.14.1 cbindgen
       - run: echo "::add-path::$HOME/.cargo/bin"
       - uses: actions/checkout@v1
       - name: Bundling libhtp
@@ -580,7 +580,7 @@ jobs:
         run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.34.2 -y
       - run: echo "::add-path::$HOME/.cargo/bin"
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --force --debug --version 0.14.1 cbindgen
       - uses: actions/checkout@v1
       - name: Bundling libhtp
         run: git clone https://github.com/OISF/libhtp -b 0.5.x
@@ -629,7 +629,7 @@ jobs:
           rust \
           xz
       - name: Install cbindgen
-        run: cargo install --force cbindgen
+        run: cargo install --force --debug --version 0.14.1 cbindgen
       - run: echo "::add-path::$HOME/.cargo/bin"
       - run: pip install PyYAML
       - uses: actions/checkout@v1