Sha256: 7fd81fef8a3b49a98e64be57451383065fd78b8052539876677d02285784c642
Contents?: true
Size: 1.5 KB
Versions: 2
Compression:
Stored size: 1.5 KB
Contents
name: Ruby on: push: branches: [ main ] paths-ignore: - '**/*.md' pull_request: branches: [ main ] paths-ignore: - '**/*.md' workflow_dispatch: jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: ['3.2', '3.3'] steps: - uses: actions/checkout@v4 - name: Install SCTP headers run: | sudo apt-get install libsctp-dev lksctp-tools sudo ip link add dummy1 type dummy sudo ip link add dummy2 type dummy sudo ip addr add 1.1.1.1/24 dev dummy1 sudo ip addr add 1.1.1.2/24 dev dummy2 sudo ip link set dummy1 up sudo ip link set dummy2 up - name: Setup Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Run Specs run: bundle exec rake freebsd: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Test in FreeBSD id: test uses: vmactions/freebsd-vm@v1 with: usesh: true prepare: | pkg install -y llvm ruby devel/ruby-gems sctplib git-tiny run: | git config --global --add safe.directory /home/runner/work/sctp-socket/sctp-socket kldload sctp ifconfig lo1 create ifconfig lo1 1.1.1.1/24 up ifconfig lo2 create ifconfig lo2 1.1.1.2/24 up gem install bundler --no-document bundle install --quiet bundle exec rake
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sctp-socket-0.1.4 | .github/workflows/ruby.yml |
sctp-socket-0.1.3 | .github/workflows/ruby.yml |