runs-on: ubuntu-latest
steps:
- name: Cache ~/.cargo
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo
key: cargo
- name: Cleaning up
run: rm -rf libhtp suricata-update suricata-verify
- name: Uploading prep archive
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
with:
name: prep
path: .
runs-on: ubuntu-latest
steps:
- name: Cache ~/.cargo
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo
key: cbindgen
cargo install --target x86_64-unknown-linux-musl --debug cbindgen
cp $HOME/.cargo/bin/cbindgen .
- name: Uploading prep archive
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
with:
name: prep
path: .
steps:
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
- - uses: actions/checkout@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
# Prebuild check for duplicat SIDs
- name: Check for duplicate SIDs
# Download and extract dependency archives created during prep
# job.
- - uses: actions/download-artifact@v2
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
run: |
mkdir dist
mv suricata-*.tar.gz dist
- - uses: actions/upload-artifact@v1
+ - uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
name: Uploading distribution
with:
name: dist
which \
zlib-devel
- name: Download suricata.tar.gz
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: dist
- run: tar zxvf suricata-*.tar.gz --strip-components=1
- run: make distcheck
- run: make clean
- run: make -j2
- - uses: actions/download-artifact@v2
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
sudo \
which \
zlib-devel
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
sudo \
which \
zlib-devel
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
sudo \
which \
zlib-devel
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
sudo \
which \
zlib-devel
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
exuberant-ctags \
curl \
dpdk-dev
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
exuberant-ctags \
curl \
dpdk-dev
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
time \
wget \
dpdk-dev
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
zlib1g-dev \
exuberant-ctags \
dpdk-dev
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
- run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.33.0 -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Download suricata.tar.gz
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: dist
- run: tar zxvf suricata-*.tar.gz --strip-components=1
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
zlib1g \
zlib1g-dev \
exuberant-ctags
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
- name: Install Coccinelle
run: |
apt -y install coccinelle
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
zlib1g \
zlib1g-dev
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain ${RUST_VERSION_MIN} -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Download suricata.tar.gz
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: dist
- name: Extract
steps:
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION_KNOWN -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
steps:
# Cache Rust stuff.
- name: Cache cargo registry
- uses: actions/cache@v1
+ uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
with:
path: ~/.cargo/registry
key: cargo-registry
run: cargo install --force --debug --version 0.14.1 cbindgen
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: pip3 install PyYAML
- - uses: actions/checkout@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
- name: Downloading prep archive
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep
run:
shell: msys2 {0}
steps:
- - uses: actions/checkout@v2
- - uses: msys2/setup-msys2@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: msys2/setup-msys2@fa138fa56e2558760b9f2205135313c7345c5f3f
with:
msystem: MINGW64
update: true
# preinstalled one to be picked up by configure
- name: cbindgen
run: cargo install --root /usr --force --debug --version 0.14.1 cbindgen
- - uses: actions/checkout@v2
- - uses: actions/download-artifact@v2
+ - uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
+ - uses: actions/download-artifact@f023be2c48cc18debc3bacd34cb396e0295e2869
with:
name: prep
path: prep