Commit c8d7074d authored by Jerome Wu's avatar Jerome Wu

Remove test and fix mac in CI/CD

parent 1c825870
......@@ -22,9 +22,6 @@ jobs:
shell: bash
run: |
bash build-with-docker.sh
- name: Run Tests
run: |
cd wasm && npm install && npm test
- uses: actions/upload-artifact@master
with:
name: ffmpeg-core-linux
......
#!/bin/bash
missingCmds=()
cmds=(autoconf libtool)
for cmd in autoconf libtool
do
if ! command -v $cmd &> /dev/null
then
missingCmds+=("$cmd")
fi
done
# for cmd in autoconf libtool
# do
# if ! command -v $cmd &> /dev/null
# then
# missingCmds+=("$cmd")
# fi
# done
if [ ${#missingCmds[@]} -ne 0 ];
then
echo "Install missing dependencies"
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
apt-get update
apt-get install -y ${missingCmds[@]}
apt-get install -y ${cmds[@]}
else
brew install ${cmds[@]}
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment