This project was sleeping for too long. Too many parts are not clean at all. So, here some cleanup: - add more test unit - clean msdos date/time format for zip - add crc32 - add version support - rewrite notes - rewrite the whole interface from scratch. - update github actions - update license (MIT) - create dotzip application - update notes regarding data-structure used - fix date and time ms-dos format (issue with endianess) - fix local file header encoding - update documentation - update with new extra fields and third party support - add extended timestamp third party support - add unix info new third party support
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: dotzip-actions
|
|
on: [push]
|
|
jobs:
|
|
compile:
|
|
runs-on: ubuntu-latest
|
|
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
|
|
strategy:
|
|
matrix:
|
|
otp: ['22.2', '23.1', '24.1']
|
|
elixir: ['1.11.3', '1.12.3', '1.13.1']
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Configure Erlang OTP and Elixir
|
|
uses: erlef/setup-beam@v1
|
|
with:
|
|
otp-version: ${{matrix.otp}}
|
|
elixir-version: ${{matrix.elixir}}
|
|
|
|
- name: Fetch dependencies
|
|
run: mix deps.get
|
|
|
|
- name: Compile application
|
|
run: mix compile
|
|
|
|
- name: Test application
|
|
run: mix test
|
|
|
|
- name: Generate documentation
|
|
run: mix docs
|
|
|
|
- name: Upload documentation
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: documentation
|
|
path: doc
|
|
|
|
- name: Generate hex release
|
|
run: mix hex.build
|
|
|
|
- name: Upload hex release
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: hex
|
|
path: dotzip-*.tar
|
|
|
|
|