Implement SASL2, BIND2, and FAST #189
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [20, 22, 23] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "npm" | |
- name: Install prosody | |
run: | | |
echo deb http://packages.prosody.im/debian $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/prosody.list | |
sudo wget https://prosody.im/files/prosody-debian-packages.key -O/etc/apt/trusted.gpg.d/prosody.gpg | |
sudo apt update | |
sudo apt install lua5.3 prosody-trunk lua-bitop lua-sec luarocks | |
sudo service prosody stop | |
prosodyctl --config server/prosody.cfg.lua install mod_sasl2 | |
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_bind2 | |
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_fast | |
prosodyctl --config server/prosody.cfg.lua install mod_sasl2_sm | |
# - run: npm install -g npm | |
- run: make | |
- run: make ci | |
- name: The job has failed | |
if: ${{ failure() }} | |
run: cat server/prosody.err |