33 lines
698 B
YAML
33 lines
698 B
YAML
name: Test safe strings safety
|
|
on: [push]
|
|
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup GHDL
|
|
run: |
|
|
apt update && apt upgrade -y
|
|
apt install gcc gnat clang git llvm llvm-dev make zlib1g-dev libc6-dev -y
|
|
git clone https://github.com/ghdl/ghdl
|
|
cd ghdl
|
|
mkdir build
|
|
cd build
|
|
../configure --with-llvm-config
|
|
make
|
|
make install
|
|
|
|
- name: Verification of ghdl installation
|
|
run: |
|
|
ghdl --version
|
|
$(GHDL) --version
|
|
|
|
- name: build test and run test
|
|
run: |
|
|
make
|